KbtterWPF.App.Application_DispatcherUnhandledException C# (CSharp) Method

Application_DispatcherUnhandledException() private method

private Application_DispatcherUnhandledException ( object sender, System e ) : void
sender object
e System
return void
        private void Application_DispatcherUnhandledException(object sender, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs e)
        {
            MessageBox.Show("エラーが発生しました。\n\'****\' object has no ...という内容の場合、プラグインのエラーである可能性が高いです。\n" + e.Exception.Message);
            e.Handled = true;
            Application.Current.Shutdown();
        }