Example #1
0
 private void Application_UnhandledException(object sender, ApplicationUnhandledExceptionEventArgs e)
 {
     Action action = null;
     if (!Debugger.IsAttached)
     {
         e.set_Handled(true);
         if (action == null)
         {
             action = () => this.ReportErrorToDOM(e);
         }
         Deployment.get_Current().get_Dispatcher().BeginInvoke(action);
     }
 }