Provides data for the UnhandledException event.
Namespace: PostSharp.Patterns.Threading
Assembly: PostSharp.Patterns.Threading.dll
Syntax
public class ThreadingUnhandledExceptionEventArgs : EventArgsProperties
| Name | Description |
|---|---|
| Exception | Gets the exception. |
| IsHandled | Gets or sets a value indicating whether the exception has been handled. Clients of the UnhandledException event
must set this property to |
| IsTaskMethod | Gets a value indicating whether the exception occurred in a task-like method. |
| Method | Gets the method in which the exception occurred. |
| ReturnValue | Gets or sets 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 |
| Source | Gets the source component that caught the exception. |