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