Quantcast
Channel: Caliburn.Micro: Xaml Made Easy
Viewing all articles
Browse latest Browse all 1760

Commented Unassigned: MultiThreading Unhandled Exception not caught in Boostrapper [356]

$
0
0
Overriding the OnUnhandledException doesn't seem to work for exceptions raised from within spawned threads.

I verified this by raising an exception from the UI thread. That is caught as expected. Any workarounds that do not require me to change my application structure?
Comments: Right now I used ``` task.ContinueWith(..) ``` I'll try using ``` TaskScheduler.UnobservedTaskException ``` Thanks for the reply. Robin

Viewing all articles
Browse latest Browse all 1760

Trending Articles



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