Esempio n. 1
0
 private static async void ErrorHandler(object sender, ApiErrorOccuredEventArgs e)
 {
     await new MessageDialog("An error ocurred: " + e.ErrorMessage).ShowAsync();
 }
Esempio n. 2
0
 public void OnApiErrorOccured(ApiErrorOccuredEventArgs e)
 {
     var handler = ApiErrorOccured;
     if (handler != null)
         handler(this, e);
 }