log4net SDK Reference

GlobalContextProperties.Remove Method 

Remove a property from the global context

[Visual Basic]
Public Sub Remove( _
   ByVal key As String _
)
[C#]
public void Remove(
   string key
);

Parameters

key
the key for the entry to remove

Remarks

Removing an entry from the global context properties is relatively expensive compared with reading a value.

See Also

GlobalContextProperties Class | log4net.Util Namespace