Quantcast
Viewing all articles
Browse latest Browse all 18858

Detecting unhandled exceptions in bound properties

I want report all unhandle exceptions  and shut down the WPF app. I have coded the DispatcherUnhandledException and the AppDomain.CurrentDomain.UnhandledException but my unhandled exception is not trapped by either one. The exception is happening when a binding updates to source.  It seems the exception is getting swallowed.  

Is there a way to prevent this? or should I be handling all errors?


Viewing all articles
Browse latest Browse all 18858

Trending Articles



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