PostSharpAPI ReferencePost­Sharp.​AspectsIOn­Method­Boundary­AspectOn­Exit
Open sandboxFocus

IOnMethodBoundaryAspect.OnExit Method

OnExit(MethodExecutionArgs)

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).

Declaration
[RequiresMethodExecutionAdviceAnalysis]
[RequiresDebuggerEnhancement]
[HasInheritedAttribute]
void OnExit(MethodExecutionArgs args)
Parameters
Type Name Description
MethodExecutionArgs args

Event arguments specifying which method is being executed and which are its arguments.