PostSharp SDK 6.8 / / Class Reference / Post­Sharp.​Sdk.​Utilities Namespace / Exception­Context Class / Exception­Context Methods / Exception­Context.​Push Method

ExceptionContext.Push Method

Pushes a new information message to the exception stack. This method is typically invoked from an exception handler, which rethrows the exception afterward.

Namespace:  PostSharp.Sdk.Utilities
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.8.6.0 (6.8.6.0)
Syntax
C#
public static void Push(
	string format,
	params Object[] arguments
)

Parameters

format
Type: System.String
Format string.
arguments
Type: System.Object[]
Arguments of the format string.
See Also