NDC MembersApache log4net™ SDK Documentation
The NDC type exposes the following members.
Methods

  NameDescription
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 methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an OnlineObject to attempt to free resources and perform other cleanup operations before the OnlineObject is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodStatic memberInherit
Inherits the contextual information from another thread.
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodStatic memberPop
Removes the top context from the stack.
Public methodStatic memberPush
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 methodOnlineToString
Returns a OnlineString that represents the current OnlineObject.
(Inherited from OnlineObject.)
Back to Top
Properties

  NameDescription
Public propertyStatic memberDepth
Gets the current context depth.
Back to Top
See Also