Removes the top context from the stack.
Assembly: log4net (in log4net.dll) Version: 18.104.22.168-.NET 4.0
public static string Pop()
Public Shared Function Pop As String
public: static String^ Pop()
static member Pop : unit -> string
Return ValueType: String
The message in the context that was removed from the top of the stack.
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.