Post­Sharp Documentation / API Reference / Post­Sharp.​Aspects Namespace / On­Method­Boundary­Aspect Class / On­Method­Boundary­Aspect Methods / On­Method­Boundary­Aspect.​On­Success Method

OnMethodBoundaryAspect.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: 5.0.51.0 (5.0.51.0)
Syntax
C#
public virtual void OnSuccess(
	MethodExecutionArgs args
)

Parameters

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

Implements

IOnMethodBoundaryAspect.OnSuccess(MethodExecutionArgs)
See Also