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

In This Topic
    OnExit Method (GException)
    In This Topic
    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).
    Syntax
    'Declaration
     
    
    <PostSharp.Extensibility.HasInheritedAttributeAttribute()>
    <PostSharp.Aspects.Internals.RequiresMethodExecutionAdviceAnalysisAttribute()>
    <PostSharp.Aspects.Internals.MethodExecutionAdviceOptimizationAttribute(MethodExecutionAdviceOptimizations.IgnoreAdvice)>
    Public Overridable Sub OnExit( _
       ByVal args As PostSharp.Aspects.MethodExecutionArgs _
    ) 
    [PostSharp.Extensibility.HasInheritedAttribute()]
    [PostSharp.Aspects.Internals.RequiresMethodExecutionAdviceAnalysis()]
    [PostSharp.Aspects.Internals.MethodExecutionAdviceOptimization(MethodExecutionAdviceOptimizations.IgnoreAdvice)]
    public virtual void OnExit( 
       PostSharp.Aspects.MethodExecutionArgs args
    )

    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