https://bugzilla.novell.com/show_bug.cgi?id=419222

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=419222#c4





--- Comment #4 from Steve Odbc <[EMAIL PROTECTED]>  2008-08-28 01:13:43 MDT ---
The following might give an idea (of my understanding) what the MS framework
does if an exception is thrown by the user interface thread while the
Application.ThreadException handler is set:

public void Application::Run()
{
   while ( no exit message found )
   {
      get next message

      try
      {
         process message
      }
      catch ( exception )
      {
         if ( Application.ThreadException handler was set )
         {
            invoke Application.ThreadException handler

            ...and then go on...
         }
         else
         {
            regardless of the
                AppDomain.CurrentDomain.UnhandledException handler:

            raise a fatal exception that crashes the entire application
         }
      }
   }
}

Just don't ask me how the framework gets the correct sender parameter for the
Application.ThreadException handler.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to