Removes the key value mapping for the key specified.
Assembly: log4net (in log4net.dll) Version: 188.8.131.52-.NET 4.0
public static void Remove( string key )
Public Shared Sub Remove ( key As String )
public: static void Remove( String^ key )
static member Remove : key : string -> unit
- Type: SystemString
The key to remove.
The MDC is deprecated and has been replaced by the Properties. The current MDC implementation forwards to the ThreadContext.Properties.
Remove the specified entry from this thread's MDC