Skip to main content

DispatcherUnhandledExceptionEventArgs Class

Definition​

Assembly:Avalonia.Base
Package:Avalonia
public class DispatcherUnhandledExceptionEventArgs

Inheritance: EventArgs -> DispatcherEventArgs -> DispatcherUnhandledExceptionEventArgs

Properties​

NameDescription
DispatcherThe Dispatcher associated with this event. Inherited from DispatcherEventArgs.
ExceptionGets the exception that was raised when executing code by way of the dispatcher.
HandledGets or sets whether the exception event has been handled.

Exception Property​

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

public Exception Exception { get; set; }

Handled Property​

Gets or sets whether the exception event has been handled.

public bool Handled { get; set; }