| ScopeContextPushNestedState Method (Object) |
Pushes new state on the logical context scope stack
Namespace:
NLog
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public static IDisposable PushNestedState(
Object nestedState
)
Public Shared Function PushNestedState (
nestedState As Object
) As IDisposable
Dim nestedState As Object
Dim returnValue As IDisposable
returnValue = ScopeContext.PushNestedState(nestedState)
static member PushNestedState :
nestedState : Object -> IDisposable
Parameters
- nestedState
- Type: SystemObject
Value to added to the scope stack
Return Value
Type:
IDisposableA disposable object that pops the nested scope state on dispose.
See Also