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

IOnMethodBoundaryAspect.OnSuccess Method

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

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

Parameters

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