Click or drag to resize

GlobalDiagnosticsContextGetObject Method

Gets the value with the specified key in the Global Diagnostics Context (GDC) dictionary

Namespace:  NLog
Assembly:  NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntax
public static Object? GetObject(
	string item
)

Parameters

item
Type: SystemString
Item name.

Return Value

Type: Object
The item value, if defined; otherwise null.
See Also