Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

NDC.Pop�Method�

Removes the top context from the stack.

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

Return Value

The message in the context that was removed from the top of the stack.

Remarks

Note���

The NDC is deprecated and has been replaced by the Stacks. The current NDC implementation forwards to the ThreadContext.Stacks["NDC"].

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

See Also

NDC Class | log4net Namespace