I have a WPF application. I have a DispatcherUnhandledExcepti
on to deal with any unhandled exceptions on the UI thread.
I however need to catch any unhandled exceptions on other threads. Looking on Google I can see that I should be using AppDomain.CurrrentDomain.U
ception. However I am being stupid and cannot get it to work.
My question is where in my application should this event be placed & how?
For example for the DispatcherUnhandledExcepti
on it was quite simple, see code below. Think I'm missing something for the AppDomain.CurrrentDomain.U
ception. I have no come across AppDomain before.
Any help would be great!