Count Property

log4net SDK Reference |

# ThreadContextStack.Count Property

The number of messages in the stack

[Visual Basic]
Public ReadOnly Property Count As Integer
[C#]
public int Count {get;}

#### Property Value

The current number of messages in the stack

#### Remarks

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

#### See Also

ThreadContextStack Class | log4net.Util Namespace