コード例 #1
0
 // Code to execute if a navigation fails
 private void RootFrame_NavigationFailed(object sender, NavigationFailedEventArgs e)
 {
     if (Debugger.IsAttached)
     {
         // A navigation has failed; break into the debugger
         Console.Write(e.ToString());
         Debugger.Break();
     }
 }
コード例 #2
0
ファイル: App.xaml.cs プロジェクト: WinToosa/mobilelogger
 // Code to execute if a navigation fails
 private void RootFrame_NavigationFailed(object sender, NavigationFailedEventArgs e)
 {
     if (System.Diagnostics.Debugger.IsAttached)
     {
         // A navigation has failed; break into the debugger
         System.Diagnostics.Debug.WriteLine(e.ToString());
         System.Diagnostics.Debugger.Break();
     }
 }