Click or drag to resize

GlobalDiagnosticsContextContains Method

Determines whether the Global Diagnostics Context (GDC) dictionary contains the specified key.

Namespace:  NLog
Assembly:  NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntax
public static bool Contains(
	string item
)

Parameters

item
Type: SystemString
Item name.

Return Value

Type: Boolean
A boolean indicating whether the specified item exists in current thread GDC.
See Also