NDC Pop Method Apache log4net™ SDK Documentation
Removes the top context from the stack.

Namespace: log4net
Assembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax

public static string Pop()

Return Value

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

Note 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