log4net SDK Reference |

# ThreadContextStack Methods

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

#### Public Instance Methods

Clear | Clears all the contextual information held in this stack.
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.
Pop | Removes the top context from this stack.
Push | Pushes a new context message into this stack.
ToString | Gets the current context information for this stack.

#### See Also

ThreadContextStack Class | log4net.Util Namespace