LogicalThreadContextStack ClassApache log4net™ SDK Documentation
Implementation of Stack for the LogicalThreadContext
Inheritance Hierarchy

SystemObject
  log4net.UtilLogicalThreadContextStack

Namespace: log4net.Util
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

public sealed class LogicalThreadContextStack : IFixingRequired

The LogicalThreadContextStack type exposes the following members.

Properties

  NameDescription
Public propertyCount
The number of messages in the stack
Top
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
Remarks

Implementation of Stack for the LogicalThreadContext

See Also

Reference