Open sandboxFocus

Property ReturnValue

ReturnValue

In PostSharp, gets the return value after ProceedInvokeHandler() has been called. In Metalama, ProceedInvokeHandler() is not supported, however you can call the handler yourself (it is exposed as the value template parameter) and store the result in a local variable.

Declaration
[Obsolete("In PostSharp, gets the return value after 'EventInterceptionArgs.ProceedInvokeHandler()' has been called. In Metalama, 'EventInterceptionArgs.ProceedInvokeHandler()' is not supported, however you can call the handler yourself (it is exposed as the <c>value</c> template parameter) and store the result in a local variable.", false)]
public object ReturnValue { get; set; }
Property Value
Type Description
object