Skip to content

InMemoryLogger.BeginScope(TState)

BeginScope(TState)

View source
public IDisposable? BeginScope<TState>(TState state)
Begins a logical operation scope.

Parameters

stateTState
The identifier for the scope.

Returns

An System.IDisposable that ends the logical operation scope on dispose.