Quantcast
Channel: patterns & practices: Prism
Viewing all articles
Browse latest Browse all 1878

New Post: How to catch each module's exception in my shell app in Prism 4.1?

$
0
0
Hi,

As far as I know Prism does not provide any functionally to manage unhandled exceptions globally (and it's also listed as a Challenged not Addressed by Prism in the documentation.) Hence, you will need to include your own logic to catch the exception.

As a starting point you can try subscribing to the AppDomain.CurrentDomain.UnhandledException event. Based on my understanding this event should be raised for any unhandled exceptions in your AppDomain, regardless of the thread.

I hope this helps,

Damian Cherubini
http://blogs.southworks.net/dcherubini

Viewing all articles
Browse latest Browse all 1878


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>