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

IOnMethodBoundaryAspect.OnSuccess Method

OnSuccess(MethodExecutionArgs)

Method executed after the body of methods to which this aspect is applied, but only when the method successfully returns (i.e. when no exception flies out the method.).

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

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