DispatcherUnhandledExceptionFilterEventArgs Class

Definition

Provides data for the DispatcherUnhandledExceptionFilter event.

public ref class DispatcherUnhandledExceptionFilterEventArgs sealed : System::Windows::Threading::DispatcherEventArgs
public sealed class DispatcherUnhandledExceptionFilterEventArgs : System.Windows.Threading.DispatcherEventArgs
type DispatcherUnhandledExceptionFilterEventArgs = class
    inherit DispatcherEventArgs
Public NotInheritable Class DispatcherUnhandledExceptionFilterEventArgs
Inherits DispatcherEventArgs
Inheritance
DispatcherUnhandledExceptionFilterEventArgs

Remarks

The UnhandledExceptionFilter event occurs when code executing by way of the Dispatcher throws an exception which is not handled.

The UnhandledExceptionFilter event provides a means to not raise the UnhandledException event. The UnhandledExceptionFilter event is raised first, and If RequestCatch on the DispatcherUnhandledExceptionFilterEventArgs is set to false, the UnhandledException event will not be raised.

Properties

Dispatcher

The Dispatcher associated with this event.

(Inherited from DispatcherEventArgs)
Exception

Gets the exception that was raised when executing code by way of the dispatcher.

RequestCatch

Gets or sets whether the exception should be caught and the event handlers called.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also