Skip to main content

DispatcherUnhandledExceptionEventArgs Class

Definition

Assembly:Avalonia.Base
Package:Avalonia
public class DispatcherUnhandledExceptionEventArgs

Inheritance: EventArgs -> DispatcherEventArgs -> DispatcherUnhandledExceptionEventArgs

Properties

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

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; }