 | LoggerPushScopeNested Method (Object) |
Pushes new state on the logical context scope stack
Namespace:
NLog
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxpublic IDisposable PushScopeNested(
Object nestedState
)
Public Function PushScopeNested (
nestedState As Object
) As IDisposable
Dim instance As Logger
Dim nestedState As Object
Dim returnValue As IDisposable
returnValue = instance.PushScopeNested(nestedState)
member PushScopeNested :
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