Open sandboxFocus

Method ProceedGetValue

ProceedGetValue()

Invokes the Get Location Value semantic on the next node in the chain of invocation and stores the location value in the PostSharp.Aspects.Internals.LocationLevelAdviceArgs.Value property.

Declaration
public abstract void ProceedGetValue()
Implements
Remarks
<p>
  Note that this method overwrites the content of the <xref href="PostSharp.Aspects.Internals.LocationLevelAdviceArgs.Value" data-throw-if-not-resolved="false"></xref> property. Therefore, you should not call this invoke
  from a <xref href="PostSharp.Aspects.ILocationInterceptionAspect.OnSetValue(PostSharp.Aspects.LocationInterceptionArgs)" data-throw-if-not-resolved="false"></xref> advice unless you store the value before. If you need to retrieve
  the current value of the location from a <xref href="PostSharp.Aspects.ILocationInterceptionAspect.OnSetValue(PostSharp.Aspects.LocationInterceptionArgs)" data-throw-if-not-resolved="false"></xref> advice, it is recommended you
  use the <xref href="PostSharp.Aspects.LocationInterceptionArgs.GetCurrentValue" data-throw-if-not-resolved="false"></xref> method.
</p>
<br />
<div class="NOTE"><h5>note</h5><p>

This method is designed to be invoked during the execution of the advice. If you need to retrieve or store the value of the location at a different time, it is recommended to use the Binding . Indeed, a binding is stateless, while LocationInterceptionArgs instances may be shared among different aspects.