Is there a possibility to register a global uncaught exception handler in a Microsoft Surface application?
Asked
Active
Viewed 268 times
1 Answers
1
Surface apps are just WPF apps... see WPF global exception handler

Community
- 1
- 1

Robert Levy
- 28,747
- 6
- 62
- 94
-
So i use this in OnApplicationActivated? Application.DispatcherUnhandledException – RoflcoptrException Feb 22 '11 at 14:30
-
1No, OnApplicationActivated can get called multiple times. Open up you App.xaml.cs file and put it in "protected override void OnStartup(StartupEventArgs e)" – Robert Levy Feb 22 '11 at 15:15