ThreadContextStack MethodsApache log4net™ SDK Documentation

The ThreadContextStack type exposes the following members.

Methods

  NameDescription
Public methodClear
Clears all the contextual information held in this stack.
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 methodPop
Removes the top context from this stack.
Public methodCode examplePush
Pushes a new context message into this stack.
Public methodToString
Gets the current context information for this stack.
(Overrides ObjectToString.)
Top
See Also

Reference