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));
 }