Account.App.App_DispatcherUnhandledException C# (CSharp) Méthode

App_DispatcherUnhandledException() private méthode

private App_DispatcherUnhandledException ( object sender, System e ) : void
sender object
e System
Résultat void
        private void App_DispatcherUnhandledException(object sender, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs e)
        {
            _log.Fatal(e.Exception);
            MessageBox.Show("系统发生未预料异常,将退出");
        }