/// <summary> /// <para>Begins an asynchronous send to the delete manual contacts batch route.</para> /// </summary> /// <param name="emailAddresses">List of manually added contacts to be deleted.</param> /// <param name="callback">The method to be called when the asynchronous send is /// completed.</param> /// <param name="callbackState">A user provided object that distinguished this send /// from other send requests.</param> /// <returns>An object that represents the asynchronous send request.</returns> public sys.IAsyncResult BeginDeleteManualContactsBatch(col.IEnumerable <string> emailAddresses, sys.AsyncCallback callback, object callbackState = null) { var deleteManualContactsArg = new DeleteManualContactsArg(emailAddresses); return(this.BeginDeleteManualContactsBatch(deleteManualContactsArg, callback, callbackState)); }
/// <summary> /// <para>Begins an asynchronous send to the delete manual contacts batch route.</para> /// </summary> /// <param name="deleteManualContactsArg">The request parameters.</param> /// <param name="callback">The method to be called when the asynchronous send is /// completed.</param> /// <param name="state">A user provided object that distinguished this send from other /// send requests.</param> /// <returns>An object that represents the asynchronous send request.</returns> public sys.IAsyncResult BeginDeleteManualContactsBatch(DeleteManualContactsArg deleteManualContactsArg, sys.AsyncCallback callback, object state = null) { var task = this.DeleteManualContactsBatchAsync(deleteManualContactsArg); return(enc.Util.ToApm(task, callback, state)); }
/// <summary> /// <para>Removes manually added contacts from the given list.</para> /// </summary> /// <param name="deleteManualContactsArg">The request parameters</param> /// <returns>The task that represents the asynchronous send operation.</returns> /// <exception cref="Dropbox.Api.ApiException{TError}">Thrown if there is an error /// processing the request; This will contain a <see /// cref="DeleteManualContactsError"/>.</exception> public t.Task DeleteManualContactsBatchAsync(DeleteManualContactsArg deleteManualContactsArg) { return(this.Transport.SendRpcRequestAsync <DeleteManualContactsArg, enc.Empty, DeleteManualContactsError>(deleteManualContactsArg, "api", "/contacts/delete_manual_contacts_batch", "user", global::Dropbox.Api.Contacts.DeleteManualContactsArg.Encoder, enc.EmptyDecoder.Instance, global::Dropbox.Api.Contacts.DeleteManualContactsError.Decoder)); }
/// <summary> /// <para>Removes manually added contacts from the given list.</para> /// </summary> /// <param name="emailAddresses">List of manually added contacts to be deleted.</param> /// <returns>The task that represents the asynchronous send operation.</returns> /// <exception cref="Dropbox.Api.ApiException{TError}">Thrown if there is an error /// processing the request; This will contain a <see /// cref="DeleteManualContactsError"/>.</exception> public t.Task DeleteManualContactsBatchAsync(col.IEnumerable <string> emailAddresses) { var deleteManualContactsArg = new DeleteManualContactsArg(emailAddresses); return(this.DeleteManualContactsBatchAsync(deleteManualContactsArg)); }