PostSharp6.2/API Reference/Post­Sharp.​Aspects Namespace/Event­Interception­Args Class/Event­Interception­Args Properties/Event­Interception­Args.​Return­Value Property

EventInterceptionArgs.ReturnValue Property

Gets the return value of the delegate.

Namespace:  PostSharp.Aspects
Assembly:  PostSharp (in PostSharp.dll) Version: 6.2.13.0 (6.2.13.0)
Syntax
C#
public Object ReturnValue { get; set; }

Property Value

Type: Object
Remarks

This property is meaningful only during a delegate invocation (not during an addition or removal).

This property is typically set by the ProceedInvokeHandler() method. It is also legal for an implementation of OnInvokeHandler(EventInterceptionArgs) to change the value of this property.

See Also