Exemple #1
0
 public void Update()
 {
     InnerClient.GetMeAsync().ContinueWith(u => {
         Debug.Write(u.Result.Username);
     });
     InnerClient.GetUpdatesAsync().ContinueWith(task => {
         if (!string.IsNullOrEmpty(RegistrationCode))
         {
             if (task.IsFaulted)
             {
                 Telemetry.Default.TrackException(task.Exception);
             }
             else
             {
                 RegisterNewUsers(task.Result);
             }
         }
         RegistrationCode = string.Empty;
     });
 }