PostSharp 6.10 / / Post­Sharp Documentation / 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: (
public Object ReturnValue { get; set; }

Property Value

Type: Object

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