Click or drag to resize
GlobalDiagnosticsContext Methods

The GlobalDiagnosticsContext type exposes the following members.

Methods
  NameDescription
Public methodStatic memberClear
Clears the content of the GDC.
Public methodStatic memberContains
Checks whether the specified item exists in the Global Diagnostics Context.
Public methodStatic memberGet(String)
Gets the Global Diagnostics Context named item.
Public methodStatic memberGet(String, IFormatProvider)
Gets the Global Diagnostics Context item.
Public methodStatic memberGetObject
Gets the Global Diagnostics Context named item.
Public methodStatic memberRemove
Removes the specified item from the Global Diagnostics Context.
Public methodStatic memberSet(String, Object)
Sets the Global Diagnostics Context item to the specified value.
Public methodStatic memberSet(String, String)
Sets the Global Diagnostics Context item to the specified value.
Top
See Also