MDCRemove Method Apache log4net™ SDK Documentation
Removes the key value mapping for the key specified.

Namespace: log4net
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

public static void Remove(
	string key
)

Parameters

key
Type: SystemString
The key to remove.
Remarks

Note 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

Reference