PostSharp6.2/API Reference/Post­Sharp.​Aspects Namespace/IOn­Method­Boundary­Aspect Interface/IOn­Method­Boundary­Aspect Methods/IOn­Method­Boundary­Aspect.​On­Exit Method

IOnMethodBoundaryAspect.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: 6.2.8.0 (6.2.8.0)
Syntax
C#
void OnExit(
	MethodExecutionArgs args
)

Parameters

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