Esempio n. 1
0
 private async void CrashInsideAsyncTask_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         await FakeService.DoStuffInBackground();
     }
     catch (Exception ex) when(HandleExceptions.IsChecked.Value)
     {
         TrackException(ex);
     }
 }
Esempio n. 2
0
 private async void CrashInsideAsyncTask_Click(object sender, EventArgs e)
 {
     await FakeService.DoStuffInBackground();
 }