log4net SDK Reference |

# ThreadContextStack.Pop Method

Removes the top context from this stack.

[Visual Basic]
Public Function Pop() As String
[C#]
public string Pop();

#### Return Value

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 a null reference (Nothing in Visual Basic)) is returned.

#### See Also

ThreadContextStack Class | log4net.Util Namespace