Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Agent.PostSharp Namespace / GField Class / OnSetValue Method
Event arguments specifying which field is being accessed and its current value.

In This Topic
    OnSetValue Method
    In This Topic
    Method invoked instead of the Set semantic of the field or property to which the current aspect is applied, i.e. when the value of this field or property is changed.PostSharp Infrastructure. Method called instead of the set operation on the modified field.
    Syntax
    'Declaration
     
    
    <DebuggerHiddenAttribute()>
    <PostSharp.Extensibility.HasInheritedAttributeAttribute(Mono.Cecil.CustomAttributeArgument[])>
    <PostSharp.Aspects.Internals.LocationInterceptionAdviceOptimizationAttribute(LocationInterceptionAdviceOptimizations.None)>
    <PostSharp.Aspects.Internals.RequiresLocationInterceptionAdviceAnalysisAttribute()>
    Public Overrides Sub OnSetValue( _
       ByVal context As PostSharp.Aspects.LocationInterceptionArgs _
    ) 
    [DebuggerHidden()]
    [PostSharp.Extensibility.HasInheritedAttribute(Mono.Cecil.CustomAttributeArgument[])]
    [PostSharp.Aspects.Internals.LocationInterceptionAdviceOptimization(LocationInterceptionAdviceOptimizations.None)]
    [PostSharp.Aspects.Internals.RequiresLocationInterceptionAdviceAnalysis()]
    public override void OnSetValue( 
       PostSharp.Aspects.LocationInterceptionArgs context
    )

    Parameters

    context
    Event arguments specifying which field is being accessed and its current value.
    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

    GField Class
    GField Members
    Base Implementation in OnSetValue