Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Agent.PostSharp Namespace / GTrace Class / OnExit Method

OnExit Method (GTrace)
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).PostSharp Infrastructure. This method is called when the method returns.
Syntax
'Declaration
 
<PostSharp.Aspects.Internals.MethodExecutionAdviceOptimizationAttribute(MethodExecutionAdviceOptimizations.IgnoreGetArguments Or  _
    MethodExecutionAdviceOptimizations.IgnoreGetInstance Or  _
    MethodExecutionAdviceOptimizations.IgnoreGetMethod Or  _
    MethodExecutionAdviceOptimizations.IgnoreSetArguments Or  _
    MethodExecutionAdviceOptimizations.IgnoreSetFlowBehavior Or  _
    MethodExecutionAdviceOptimizations.IgnoreSetInstance Or  _
    MethodExecutionAdviceOptimizations.IgnoreSetMethodExecutionTag Or  _
    MethodExecutionAdviceOptimizations.IgnoreSetReturnValue)>
Public Overrides NotOverridable Sub OnExit( _
   ByVal eventArgs As PostSharp.Aspects.MethodExecutionArgs _
) 
 

Parameters

eventArgs
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

Reference

GTrace Class
GTrace Members
Base Implementation in OnExit