log4net SDK Reference

NDC Members

NDC overview

Public Static (Shared) Properties

Depth Gets the current context depth.

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) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

NDC Class | log4net Namespace