Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

MDC.Remove�Method�

Removes the key value mapping for the key specified.

[Visual�Basic]
Public�Shared�Sub�Remove( _
���ByVal key�As�String�_
)
[C#]
public�static�void�Remove(
���stringkey
);

Parameters

key
The key to remove.

Remarks

Note���

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

See Also

MDC Class | log4net Namespace