Table of Contents

Method ShowExceptionWindow

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

ShowExceptionWindow(Exception, string?, bool, bool, Action<bool>?)

Shows ThreadExceptionWindow on the screen.

public static void ShowExceptionWindow(Exception exception, string? additionalInfo = null, bool canContinue = true, bool canQuit = true, Action<bool>? onClose = null)

Parameters

exception Exception

Exception information.

additionalInfo string

Additional information.

canContinue bool

Whether 'Continue' button is visible.

canQuit bool

Whether 'Quit' button is visible.

onClose Action<bool>

Action to call when dialog is closed.

ShowExceptionWindow(Exception, Action<bool>?)

Shows ThreadExceptionWindow on the screen.

public static void ShowExceptionWindow(Exception exception, Action<bool>? onClose)

Parameters

exception Exception

Exception information.

onClose Action<bool>

Action to call when dialog is closed.