When testing with Visual Studio Team Test unhandled exceptions in tests are caught and reported in the results. So I was kind of surprised to see the test hosting process (V
You can use a Global Exception handler to catch all of the uncaught exception in the AppDomain:
AppDomain currentDomain = AppDomain.CurrentDomain; currentDomain.UnhandledException += new EventHandler(UnhandledExceptionHandler);
I think it would work for exceptions thrown from other threads as well