Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Threading Namespace / Threading­Unhandled­Exception­Event­Args Class

ThreadingUnhandledExceptionEventArgs Class

Arguments of the UnhandledException event.
Inheritance Hierarchy
System.Object
  System.EventArgs
    PostSharp.Patterns.Threading.ThreadingUnhandledExceptionEventArgs

Namespace:  PostSharp.Patterns.Threading
Assembly:  PostSharp.Patterns.Threading (in PostSharp.Patterns.Threading.dll) Version: 5.0.38.0 (5.0.38.0)
Syntax
C#
public class ThreadingUnhandledExceptionEventArgs : EventArgs

The ThreadingUnhandledExceptionEventArgs type exposes the following members.

Properties
  NameDescription
Public propertyException
Gets the exception.
Public propertyIsHandled
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.
Public propertyIsTaskMethod
Determines whether the exception occurred in a task-like method.
Public propertyMethod
Gets the method in which the exception occurred.
Public propertyReturnValue
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.
Public propertySource
Gets the source component that caught the exception.
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also