LogicalThreadContextStack Pop Method | Apache log4net™ SDK Documentation

Removes the top context from this stack.

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

C#
VB
C++
F#
Copy

    public string Pop()

    Public Function Pop As String

    public:
    String^ Pop()

    member Pop : unit -> string

#### Return Value

Type: String
The message in the context that was removed from the top of this stack.
Remarks

Remove the top context from this stack, and return it to the caller. If this stack is empty then an empty string (not
) is returned.

See Also

#### Reference

LogicalThreadContextStack Class
log4net.Util Namespace