Open sandboxFocus

Class ThreadingUnhandledExceptionEventArgs

Provides data for the UnhandledException event.

Inheritance
ThreadingUnhandledExceptionEventArgs
Namespace: PostSharp.Patterns.Threading
Assembly: PostSharp.Patterns.Threading.dll
Syntax
public class ThreadingUnhandledExceptionEventArgs : EventArgs

Properties

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 true if they handle the exception. Otherwise, the exception will be rethrown.

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 true.

Source

Gets the source component that caught the exception.