DispatcherUnhandledExceptionFilterEventHandler Delegate

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Represents the method that will handle the UnhandledExceptionFilter event.

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

public delegate void DispatcherUnhandledExceptionFilterEventHandler(
	object sender,
	DispatcherUnhandledExceptionFilterEventArgs e
)

Parameters

sender
Type: System.Object

The source of the event.

e
Type: System.Windows.Threading.DispatcherUnhandledExceptionFilterEventArgs

The event data.

The UnhandledExceptionFilter event occurs when code executing by way of the Dispatcher throws an exception that 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
Return to top
Show: