ILogger.BeginScope(TState) ILogger.BeginScope(TState) ILogger.BeginScope(TState) Method

Definition

Begins a logical operation scope.

public IDisposable BeginScope<TState> (TState state);
abstract member BeginScope : 'State -> IDisposable
Public Function BeginScope(Of TState) (state As TState) As IDisposable

Type Parameters

TState

Parameters

state

The identifier for the scope.

Returns

An IDisposable that ends the logical operation scope on dispose.

Applies to