Reign.Core.SilverlightApplication.Application_UnhandledException C# (CSharp) Method

Application_UnhandledException() private method

private Application_UnhandledException ( object sender, System.Windows.ApplicationUnhandledExceptionEventArgs e ) : void
sender object
e System.Windows.ApplicationUnhandledExceptionEventArgs
return void
        private void Application_UnhandledException(object sender, ApplicationUnhandledExceptionEventArgs e)
        {
            if (!System.Diagnostics.Debugger.IsAttached)
            {
                Closing();
                Message.Show("UnhandledException", e.ExceptionObject.Message);

                e.Handled = true;
                Deployment.Current.Dispatcher.BeginInvoke(delegate {ReportErrorToDOM(e);});
            }
        }