public async Task <BatchDeleteMessageResponse> BatchDeleteMessageAsync(BatchDeleteMessageRequest request) { request.QueueName = this.QueueName; var marshaller = new BatchDeleteMessageRequestMarshaller(); var unmarshaller = BatchDeleteMessageResponseUnmarshaller.Instance; return(await _serviceClient.InvokeAsync <BatchDeleteMessageRequest, BatchDeleteMessageResponse>(request, marshaller, unmarshaller).ConfigureAwait(false)); }
/// <inheritdoc/> public BatchDeleteMessageResponse BatchDeleteMessage(BatchDeleteMessageRequest request) { request.QueueName = this.QueueName; var marshaller = new BatchDeleteMessageRequestMarshaller(); var unmarshaller = BatchDeleteMessageResponseUnmarshaller.Instance; return(_serviceClient.Invoke <BatchDeleteMessageRequest, BatchDeleteMessageResponse>(request, marshaller, unmarshaller)); }
/// <inheritdoc/> public IAsyncResult BeginBatchDeleteMessage(BatchDeleteMessageRequest request, AsyncCallback callback, object state) { request.QueueName = this.QueueName; var marshaller = new BatchDeleteMessageRequestMarshaller(); var unmarshaller = BatchDeleteMessageResponseUnmarshaller.Instance; return(_serviceClient.BeginInvoke <BatchDeleteMessageRequest>(request, marshaller, unmarshaller, callback, state)); }