Table of Contents

Enum UnhandledExceptionMode

Namespace
Alternet.UI
Assembly
Alternet.UI.Interfaces.dll

Defines where an application should send unhandled exceptions.

public enum UnhandledExceptionMode

Fields

CatchException = 0

Always route exceptions to the event handler. If no event handler is assigned, application will show default error dialog with exception details, 'Continue' and 'Quit' buttons.

CatchWithDialog = 2

Route exceptions to the event handler. If exceptions are not handled there, application will show default error dialog with exception details, 'Continue' and 'Quit' buttons.

CatchWithDialogAndThrow = 3

Route exceptions to the event handler. If exceptions are not handled there, application will show default error dialog with exception details, 'Continue' and 'Quit' buttons. If user presses 'Continue', exception will be shrown.

CatchWithThrow = 4

Route exceptions to the event handler. If exceptions are not handled there they will be shrown.

ThrowException = 1

Never route exceptions to the event handler. Application will throw the exceptions.