/// <inheritdoc/> public ListSubscriptionResponse ListSubscription(ListSubscriptionRequest request) { request.TopicName = this.TopicName; var marshaller = new ListSubscriptionRequestMarshaller(); var unmarshaller = ListSubscriptionResponseUnmarshaller.Instance; return(_serviceClient.Invoke <ListSubscriptionRequest, ListSubscriptionResponse>(request, marshaller, unmarshaller)); }
/// <inheritdoc/> public IAsyncResult BeginListSubscription(ListSubscriptionRequest request, AsyncCallback callback, object state) { var marshaller = new ListSubscriptionRequestMarshaller(); var unmarshaller = ListSubscriptionResponseUnmarshaller.Instance; return(_serviceClient.BeginInvoke <ListSubscriptionRequest>(request, marshaller, unmarshaller, callback, state)); }
public async Task <ListSubscriptionResponse> ListSubscriptionAsync(ListSubscriptionRequest request) { request.TopicName = this.TopicName; var marshaller = new ListSubscriptionRequestMarshaller(); var unmarshaller = ListSubscriptionResponseUnmarshaller.Instance; return(await _serviceClient.InvokeAsync <ListSubscriptionRequest, ListSubscriptionResponse>(request, marshaller, unmarshaller).ConfigureAwait(false)); }