Is there any specific way to add a global exception handler to a Metro style app, just like LittleWatson in WP7 in the App.Xaml.cs file? what is the best practice and pattern to handle this?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The UnhandledException event page explains why your exception is not handled by that (emphasis mine):
It goes on explaining that you should catch exceptions at the most specific time possible. As far as I know, there’s no such thing as a global event handler in Windows 8 style apps.