ExterinalGLibMainLoopExceptionLogger Property
If Avalonia is in control of a run loop, we propagate exceptions by stopping the run loop frame and rethrowing an exception. However, if there is no Avalonia-controlled run loop frame, there is no way to report such exceptions, since allowing those to escape native->managed call boundary will likely brick GLib machinery since it's not aware of managed Exceptions This property allows to inspect such exceptions before they will be ignored
Definition
Namespace: Avalonia
Assembly: Avalonia.X11 (in Avalonia.X11.dll)
- C#
- VB
- F#
public Action<Exception>? ExterinalGLibMainLoopExceptionLogger { get; set; }
Public Property ExterinalGLibMainLoopExceptionLogger As Action(Of Exception)
Get
Set
member ExterinalGLibMainLoopExceptionLogger : Action<Exception> with get, set