title: BackgroundWorker _ Exception not caught by The AppDomain.UnhandledException
body: <p>I m using the folowing code to handle exception from BackgroundWorker. The problem is that the exception is not propaged to the AppDomain.CurrentDomain.UnhandledException.</p>
  
  <p>App.xaml.cs:</p>
  
  <p><code>private void Application_Startup(object sender, StartupEventArgs e)
              {
                  AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException;
              }</code> </p>
  
  <p>I have a pool of BackgroundWorker in the main App. Each BackgroundWorker represent a progress bar. The implementation of the DoWork is a follow:</p>
  
  <pre><code> private void BackgroundWorker_EditIni(object sender, DoWorkEventArgs e)
      {
          try
          {
              throw new Exception("Test");
          }
          catch (ApplicationException ex)
          {
              FailureMessage = ex.Message;
              e.Cancel = true;
          }
          catch (Exception)
          {
              FailureMessage = DialogMessage.InternalError;
              e.Cancel = true;
              throw;
          }
      }
  </code></pre>