Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Agent.PostSharp Namespace / GField Class / OnGetValue Method
Advice arguments.

In This Topic
    OnGetValue Method
    In This Topic
    Method invoked instead of the Get semantic of the field or property to which the current aspect is applied, i.e. when the value of this field or property is retrieved.
    Syntax
    'Declaration
     
    
    <PostSharp.Extensibility.HasInheritedAttributeAttribute()>
    <PostSharp.Aspects.Internals.LocationInterceptionAdviceOptimizationAttribute(LocationInterceptionAdviceOptimizations.IgnoreAdvice)>
    <PostSharp.Aspects.Internals.RequiresLocationInterceptionAdviceAnalysisAttribute()>
    Public Overridable Sub OnGetValue( _
       ByVal args As PostSharp.Aspects.LocationInterceptionArgs _
    ) 
    [PostSharp.Extensibility.HasInheritedAttribute()]
    [PostSharp.Aspects.Internals.LocationInterceptionAdviceOptimization(LocationInterceptionAdviceOptimizations.IgnoreAdvice)]
    [PostSharp.Aspects.Internals.RequiresLocationInterceptionAdviceAnalysis()]
    public virtual void OnGetValue( 
       PostSharp.Aspects.LocationInterceptionArgs args
    )

    Parameters

    args
    Advice 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