private void IdentityProviderList_RefreshCompleted(object sender, GetIdentityProviderListEventArgs e)
 {
     if (null == e.Error)
     {
         IdentityProviderList.ItemsSource = e.Result;
         ShowIdentityProviderSelection();
     }
     else
     {
         DisplayErrorMessage(string.Format(
             CultureInfo.InvariantCulture, 
             "There was an error retrieving the Identity Providers list. Please check your internet connection. {0}", 
             e.Error.Message));
     }
 }
 private void IdentityProviderList_RefreshCompleted(object sender, GetIdentityProviderListEventArgs e)
 {
     if (null == e.Error)
     {
         IdentityProviderList.ItemsSource = e.Result;
         ShowIdentityProviderSelection();
     }
     else
     {
         DisplayErrorMessageFromException(e.Error);
     }
 }