ArtOfWords.App.Application_DispatcherUnhandledException C# (CSharp) Method

Application_DispatcherUnhandledException() private method

private Application_DispatcherUnhandledException ( object sender, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs e ) : void
sender object
e System.Windows.Threading.DispatcherUnhandledExceptionEventArgs
return void
        private void Application_DispatcherUnhandledException(object sender,
            DispatcherUnhandledExceptionEventArgs e)
        {
            logger.Fatal("Error: InnerException" + e.Exception.InnerException + "\r\nTrace: " + e.Exception.StackTrace);
            ShowDialogManager.ShowMessageBox(e.Exception.ToString(), "エラー", MessageBoxButton.OK, MessageBoxImage.Error);
        }