Click or drag to resize
NestedDiagnosticsContextPush Method (Object)
Pushes the specified object on current thread NDC.

Namespace: NLog
Assembly: NLog (in NLog.dll) Version: 4.3.0
Syntax
public static IDisposable Push(
	Object value
)

Parameters

value
Type: SystemObject
The object to be pushed.

Return Value

Type: IDisposable
An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement.
See Also