LogicalThreadContextStack Class | Apache log4net™ SDK Documentation

Implementation of Stack for the LogicalThreadContext
Inheritance Hierarchy

System
Object
log4net.Util
LogicalThreadContextStack

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

C#
VB
C++
F#
Copy

    public sealed class LogicalThreadContextStack : IFixingRequired

    Public NotInheritable Class LogicalThreadContextStack
    	Implements IFixingRequired

    public ref class LogicalThreadContextStack sealed : IFixingRequired

    [<SealedAttribute>]
    type LogicalThreadContextStack =
        class
            interface IFixingRequired
        end

The LogicalThreadContextStack type exposes the following members.

Properties

| Name | Description
--- | --- | ---
| Count | The number of messages in the stack

Top
Methods

| Name | Description
--- | --- | ---
| Clear | Clears all the contextual information held in this stack.
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.)
| GetType | Gets the Type of the current instance. (Inherited from Object.)
| 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. (Overrides Object ToString .)

Top
Remarks

Implementation of Stack for the LogicalThreadContext

See Also

#### Reference

log4net.Util Namespace