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

In This Topic
    OnEntry Method (GTrace)
    In This Topic
    Method executed before the body of methods to which this aspect is applied. PostSharp Infrastructure. This method is called each time a tagged method is called.
    Syntax
    'Declaration
     
    
    <PostSharp.Aspects.Internals.MethodExecutionAdviceOptimizationAttribute(MethodExecutionAdviceOptimizations.IgnoreGetException Or  _
        MethodExecutionAdviceOptimizations.IgnoreGetInstance Or  _
        MethodExecutionAdviceOptimizations.IgnoreGetMethod Or  _
        MethodExecutionAdviceOptimizations.IgnoreGetMethodExecutionTag Or  _
        MethodExecutionAdviceOptimizations.IgnoreGetReturnValue Or  _
        MethodExecutionAdviceOptimizations.IgnoreSetArguments Or  _
        MethodExecutionAdviceOptimizations.IgnoreSetFlowBehavior Or  _
        MethodExecutionAdviceOptimizations.IgnoreSetInstance Or  _
        MethodExecutionAdviceOptimizations.IgnoreSetReturnValue)>
    Public Overrides NotOverridable Sub OnEntry( _
       ByVal eventArgs As PostSharp.Aspects.MethodExecutionArgs _
    ) 
    [PostSharp.Aspects.Internals.MethodExecutionAdviceOptimization(MethodExecutionAdviceOptimizations.IgnoreGetException | 
        MethodExecutionAdviceOptimizations.IgnoreGetInstance | 
        MethodExecutionAdviceOptimizations.IgnoreGetMethod | 
        MethodExecutionAdviceOptimizations.IgnoreGetMethodExecutionTag | 
        MethodExecutionAdviceOptimizations.IgnoreGetReturnValue | 
        MethodExecutionAdviceOptimizations.IgnoreSetArguments | 
        MethodExecutionAdviceOptimizations.IgnoreSetFlowBehavior | 
        MethodExecutionAdviceOptimizations.IgnoreSetInstance | 
        MethodExecutionAdviceOptimizations.IgnoreSetReturnValue)]
    public override void OnEntry( 
       PostSharp.Aspects.MethodExecutionArgs eventArgs
    )

    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 OnEntry