 | TestLoggerBeginScopeTState Method |
Begins a logical operation scope.
Namespace:
Neon.Diagnostics
Assembly:
Neon.Common (in Neon.Common.dll) Version: 2.10.0
Syntaxpublic IDisposable BeginScope<TState>(
TState state
)
Public Function BeginScope(Of TState) (
state As TState
) As IDisposable
public:
generic<typename TState>
virtual IDisposable^ BeginScope(
TState state
) sealed
abstract BeginScope :
state : 'TState -> IDisposable
override BeginScope :
state : 'TState -> IDisposable
Parameters
- state
- Type: TState
The identifier for the scope.
Type Parameters
- TState
- The type of the state to begin scope for.
Return Value
Type:
IDisposableA disposable object that ends the logical operation scope on dispose.
Implements
ILogger.BeginScope``1(UMP)
See Also