public static Task AddContactAsync(this 
     ContactGroupServices cgs, string contactUri,
     ContactAddOptions options)
 {
     return Task.Factory.FromAsync(
         cgs.BeginAddContact, cgs.EndAddContact,
         contactUri, options, null);
 }
Пример #2
0
 public static Task AddContactAsync(this
                                    ContactGroupServices cgs, string contactUri,
                                    ContactAddOptions options)
 {
     return(Task.Factory.FromAsync(
                cgs.BeginAddContact, cgs.EndAddContact,
                contactUri, options, null));
 }