Example #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();
     }
 }
Example #2
0
 // 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();
     }
 }