DispatcherUnhandledExceptionFilterEventArgs Class

DispatcherUnhandledExceptionFilterEventArgs Class

 

Provides data for the Dispatcher UnhandledExceptionFilter event.

Namespace:   System.Windows.Threading
Assembly:  WindowsBase (in WindowsBase.dll)

System.Object
  System.EventArgs
    System.Windows.Threading.DispatcherEventArgs
      System.Windows.Threading.DispatcherUnhandledExceptionFilterEventArgs

public sealed class DispatcherUnhandledExceptionFilterEventArgs : DispatcherEventArgs

NameDescription
System_CAPS_pubpropertyDispatcher

The Dispatcher associated with this event. (Inherited from DispatcherEventArgs.)

System_CAPS_pubpropertyException

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

System_CAPS_pubpropertyRequestCatch

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

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

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.

.NET Framework
Available since 3.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft