Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Agent.PostSharp Namespace / GException Class / OnSuccess Method
Event arguments specifying which method is being executed and which are its arguments.

OnSuccess Method (GException)
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.).
Syntax
'Declaration
 
<PostSharp.Aspects.Internals.MethodExecutionAdviceOptimizationAttribute(MethodExecutionAdviceOptimizations.IgnoreAdvice)>
<PostSharp.Aspects.Internals.RequiresMethodExecutionAdviceAnalysisAttribute()>
<PostSharp.Extensibility.HasInheritedAttributeAttribute()>
Public Overridable Sub OnSuccess( _
   ByVal args As PostSharp.Aspects.MethodExecutionArgs _
) 
 

Parameters

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

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also