Click or drag to resize

ScopeContextPushNestedStateT Method (T)

Pushes new state on the logical context scope stack

Namespace:  NLog
Assembly:  NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntax
public static IDisposable PushNestedState<T>(
	T nestedState
)

Parameters

nestedState
Type: T
Value to added to the scope stack

Type Parameters

T

Return Value

Type: IDisposable
A disposable object that pops the nested scope state on dispose.
Remarks
Skips casting of nestedState to check for scope-properties
See Also