PostSharp4.3/API Reference/Post­Sharp.​Aspects Namespace/IOn­Exception­Aspect Interface/IOn­Exception­Aspect Methods/IOn­Exception­Aspect.​On­Exception Method
IOnExceptionAspect.OnException Method
Method executed after the body of methods to which this aspect is applied, in case that the method resulted with an exception (i.e., in a catch block).

Namespace: PostSharp.Aspects
Assembly: PostSharp (in PostSharp.dll) Version: 4.3.48.0 (4.3.48.0)
Syntax
C#
void OnException(
	MethodExecutionArgs args
)

Parameters

args
Type: PostSharp.Aspects.MethodExecutionArgs
Advice arguments.
See Also