Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
NLog
GDC
Set
NLog.GDC.Set C# (CSharp) Method
GDC Class Documentation
Show file
Open project: NLog/NLog
Set()
public
static
method
Sets the Global Diagnostics Context item to the specified value.
public
static
Set
(
string
item
,
string
value
) :
void
item
string
Item name.
value
string
Item value.
return
void
public static void Set(string item, string value) { GlobalDiagnosticsContext.Set(item, value); }
GDC
Clear
Contains
Get
GetObject
Remove
Set