How to add a Global Exception handler to a Metro Style app?

Is there any specific way to add a global exception handler to a Metro style app like LittleWatson in WP7 in the App.Xaml.cs file? What is the best practice and template for this?

+7
source share
2 answers

The UnhandledException page explains why your exception is not handled by this (focus):

This event is used only with exceptions encountered by the XAML framework . Exceptions encountered by other components of Windows Runtime or parts of the application that are not connected to the XAML framework will not cause this event.

The following explains that you should catch exceptions at the most specific time. As far as I know, in applications with support for Windows 8 there is no such thing as a global event handler.

+6
source
+1
source

All Articles