Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

NDC�Methods

The methods of the NDC class are listed below. For a complete list of NDC class members, see the NDC Members topic.

Public Static (Shared) Methods

Clear Clears all the contextual information held on the current thread.
CloneStack Creates a clone of the stack of context information.
Inherit Inherits the contextual information from another thread.
Pop Removes the top context from the stack.
Push Pushes a new context message.
Remove Removes the context information for this thread. It is not required to call this method.
SetMaxDepth Forces the stack depth to be at most maxDepth.

Public Instance Methods

Equals (inherited from Object)
GetHashCode (inherited from Object)
GetType (inherited from Object)
ToString (inherited from Object)

See Also

NDC Class | log4net Namespace