Rock.Apps.CheckScannerUtility.App.App_DispatcherUnhandledException C# (CSharp) Méthode

App_DispatcherUnhandledException() public méthode

Handles the DispatcherUnhandledException event of the App control.
public App_DispatcherUnhandledException ( object sender, System e ) : void
sender object The source of the event.
e System The instance containing the event data.
Résultat void
        public void App_DispatcherUnhandledException( object sender, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs e )
        {
            LogException( e.Exception );
            ErrorMessageWindow errorMessageWindow = new ErrorMessageWindow(e.Exception);
            errorMessageWindow.ShowDialog();
            e.Handled = true;
        }