NDC MethodsApache log4net™ SDK Documentation

The NDC type exposes the following members.


Public methodStatic memberClear
Clears all the contextual information held on the current thread.
Public methodStatic memberCloneStack
Creates a clone of the stack of context information.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberInherit
Inherits the contextual information from another thread.
Public methodStatic memberPop
Removes the top context from the stack.
Public methodStatic memberCode examplePush
Pushes a new context message.
Public methodStatic memberCode examplePushFormat
Pushes a new context message.
Public methodStatic memberRemove
Removes the context information for this thread. It is not required to call this method.
Public methodStatic memberSetMaxDepth
Forces the stack depth to be at most maxDepth.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
See Also