| LoggerPushScopeNestedT Method (T) |
Pushes new state on the logical context scope stack
Namespace:
NLog
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public IDisposable PushScopeNested<T>(
T nestedState
)
Public Function PushScopeNested(Of T) (
nestedState As T
) As IDisposable
Dim instance As Logger
Dim nestedState As T
Dim returnValue As IDisposable
returnValue = instance.PushScopeNested(nestedState)
member PushScopeNested :
nestedState : 'T -> IDisposable
Parameters
- nestedState
- Type: T
Value to added to the scope stack
Type Parameters
- T
Return Value
Type:
IDisposableA disposable object that pops the nested scope state on dispose.
See Also