Method | Description | |
---|---|---|
Clear ( ) : void |
Clears current thread NDC stack.
|
|
GetAllMessages ( ) : string[] |
Gets all messages on the stack.
|
|
GetAllObjects ( ) : object[] |
Gets all objects on the NDC stack. The objects are not removed from the stack.
|
|
Pop ( ) : string |
Pops the top message off the NDC stack.
|
|
PopObject ( ) : object |
Pops the top object off the NDC stack. The object is removed from the stack.
|
|
Push ( string text ) : IDisposable |
Pushes the specified text on current thread NDC.
|
public static Push ( string text ) : IDisposable | ||
text | string | The text to be pushed. |
return | IDisposable |