title: handle "The operation completed successfully" error
body: <p>I have a vast application running WPF and I occasionally get the </p>
  
  <blockquote>
    <p>The operation completed successfully</p>
  </blockquote>
  
  <p>error randomly, could be a whole host of things.</p>
  
  <p>Is there any way to trap this code and just restart the app.</p>
  
  <p>I'm already using </p>
  
  <pre><code> #region "Error Checking"
      void OnAppDomainUnhandledException(object sender, UnhandledExceptionEventArgs e)
      {
          HandleError("OnAppDomainUnhandledException", e.ExceptionObject.ToString(), e.ExceptionObject.ToString());
      }
  
      void OnDispatcherUnhandledException(object sender, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs e)
      {
          string error = string.Empty;
          if (e.Exception.InnerException != null)
              error = e.Exception.InnerException.Message;
  
          HandleError("OnDispatcherUnhandledException", e.Exception.Message.ToString(),error);
          e.Handled = true;
      }
  
      #endregion
  </code></pre>
  
  <p>but this does not appear to catch/handle the error</p>