AppDomain.CurrentDomain.UnhandledException problem

Topics: Prism v2 - WPF 3.5
Feb 15, 2010 at 12:02 AM

I have an exception thrown from some code and it's not handled which means it eventually ends up in the UnhandledException hander.  Problem is that whenever I try to show something to the user it seems to just re-throw the same error.  For example, a MessageBox.Show(ex.ToString()) as per the StockTrader sample app just throws again:

Exception has been thrown by the target of an invocation.

If I try and fire up a window it does the same thing.  The error message is of no help I don't think.

Any ideas?