Class DispatcherUnhandledExceptionFilterEventArgs
Represents the method that will handle the UnhandledExceptionFilter event.
public sealed class DispatcherUnhandledExceptionFilterEventArgs : DispatcherEventArgs
- Inheritance
-
DispatcherUnhandledExceptionFilterEventArgs
- Inherited Members
Properties
Exception
Gets the exception that was raised when executing code by way of the dispatcher.
public Exception Exception { get; }
Property Value
RequestCatch
Gets or sets whether the exception should be caught and the event handlers called..
public bool RequestCatch { get; set; }
Property Value
Remarks
A filter handler can set this property to false to request that the exception not be caught, to avoid the callstack getting unwound up to the Dispatcher.
A previous handler in the event multicast might have already set this property to false, signalling that the exception will not be caught. We let the "don't catch" behavior override all others because it most likely means a debugging scenario.