Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Agent.PostSharp Namespace / GException Class / OnEntry Method
Event arguments specifying which method is being executed, which are its arguments, and how should the execution continue after the execution of PostSharp.Aspects.IOnMethodBoundaryAspect.OnEntry(PostSharp.Aspects.MethodExecutionArgs).

In This Topic
    OnEntry Method (GException)
    In This Topic
    Method executed before the body of methods to which this aspect is applied.
    Syntax
    'Declaration
     
    
    <PostSharp.Extensibility.HasInheritedAttributeAttribute()>
    <PostSharp.Aspects.Internals.MethodExecutionAdviceOptimizationAttribute(MethodExecutionAdviceOptimizations.IgnoreAdvice)>
    <PostSharp.Aspects.Internals.RequiresMethodExecutionAdviceAnalysisAttribute()>
    Public Overridable Sub OnEntry( _
       ByVal args As PostSharp.Aspects.MethodExecutionArgs _
    ) 
    [PostSharp.Extensibility.HasInheritedAttribute()]
    [PostSharp.Aspects.Internals.MethodExecutionAdviceOptimization(MethodExecutionAdviceOptimizations.IgnoreAdvice)]
    [PostSharp.Aspects.Internals.RequiresMethodExecutionAdviceAnalysis()]
    public virtual void OnEntry( 
       PostSharp.Aspects.MethodExecutionArgs args
    )

    Parameters

    args
    Event arguments specifying which method is being executed, which are its arguments, and how should the execution continue after the execution of PostSharp.Aspects.IOnMethodBoundaryAspect.OnEntry(PostSharp.Aspects.MethodExecutionArgs).
    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