PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Threading Namespace / Threading­Unhandled­Exception­Event­Args Class / Threading­Unhandled­Exception­Event­Args Properties / Threading­Unhandled­Exception­Event­Args.​Return­Value Property

ThreadingUnhandledExceptionEventArgs.ReturnValue Property

Provides the value to return from the method if the exception has been handled. Clients of the UnhandledException event must set this property to the appropriate value if they set the IsHandled property to true.

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

Property Value

Type: Object
See Also