PostSharp5.0/API Reference/Post­Sharp.​Aspects Namespace/On­Method­Boundary­Aspect Class/On­Method­Boundary­Aspect Methods/On­Method­Boundary­Aspect.​On­Exit Method

OnMethodBoundaryAspect.OnExit Method

Method executed after the body of methods to which this aspect is applied, even when the method exists with an exception (this method is invoked from the finally block).

Namespace:  PostSharp.Aspects
Assembly:  PostSharp (in PostSharp.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
public virtual void OnExit(
	MethodExecutionArgs args
)

Parameters

args
Type: PostSharp.Aspects.MethodExecutionArgs
Event arguments specifying which method is being executed and which are its arguments.

Implements

IOnMethodBoundaryAspect.OnExit(MethodExecutionArgs)
See Also