Click or drag to resize

MappedDiagnosticsContext Methods

The MappedDiagnosticsContext type exposes the following members.

Methods
  NameDescription
Public methodStatic memberClear Obsolete.
Clears the content of current thread MDC.
Public methodStatic memberContains Obsolete.
Checks whether the specified item exists in current thread MDC.
Public methodStatic memberGet(String) Obsolete.
Gets the current thread MDC named item, as String.
Public methodStatic memberGet(String, IFormatProvider) Obsolete.
Gets the current thread MDC named item, as String.
Public methodStatic memberGetNames Obsolete.
Returns all item names
Public methodStatic memberGetObject Obsolete.
Gets the current thread MDC named item, as Object.
Public methodStatic memberRemove Obsolete.
Removes the specified item from current thread MDC.
Public methodStatic memberSet(String, Object) Obsolete.
Sets the current thread MDC item to the specified value.
Public methodStatic memberSet(String, String) Obsolete.
Sets the current thread MDC item to the specified value.
Public methodStatic memberSetScoped(String, Object) Obsolete.
Sets the current thread MDC item to the specified value.
Public methodStatic memberSetScoped(String, String) Obsolete.
Sets the current thread MDC item to the specified value.
Top
See Also