Reputation: 1165
I am developing a WPF application that follows MVVM architecture. This application is multithreaded. Now I would like to know how should I handle exceptions in my application.
Please let me know the guidelines to handle exception in multithreaded WPF application that follows MVVM.
Upvotes: 0
Views: 99
Reputation: 2412
if you search for a specific exception add a break point to your exception line and check call stack
if you want a general catch all exception then perhaps DispatcherUnhandledException in your App.xaml will do the job you want. Check Documentation on this link about other threads handling.
Upvotes: 1