PostSharp.ILAPI ReferencePost­Sharp.​Patterns.​ThreadingThreading­Unhandled­Exception­Event­Args
Open sandboxFocus

ThreadingUnhandledExceptionEventArgs Class

Arguments of 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

Determines 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

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

Source

Gets the source component that caught the exception.