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

In This Topic
    OnEntry Method (GTimer)
    In This Topic
    Method executed before the body of methods to which this aspect is applied. This method is called each time a tagged method is called.
    Syntax
    'Declaration
     
    
    <DebuggerHiddenAttribute()>
    <PostSharp.Aspects.Internals.MethodExecutionAdviceOptimizationAttribute(MethodExecutionAdviceOptimizations.IgnoreGetArguments Or  _
        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 _
    ) 
    [DebuggerHidden()]
    [PostSharp.Aspects.Internals.MethodExecutionAdviceOptimization(MethodExecutionAdviceOptimizations.IgnoreGetArguments | 
        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

    GTimer Class
    GTimer Members
    Base Implementation in OnEntry