LogicalThreadContextStack Count Property | Apache log4net™ SDK Documentation

The number of messages in the stack

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

C#
VB
C++
F#
Copy

    public int Count { get; }

    Public ReadOnly Property Count As Integer
    	Get

    public:
    property int Count {
    	int get ();
    }

    member Count : int with get

#### Property Value

Type: Int32
The current number of messages in the stack
Remarks

The current number of messages in the stack. That is the number of times Push(String) has been called minus the number of times Pop
has been called.

See Also

#### Reference

LogicalThreadContextStack Class
log4net.Util Namespace