/// <inheritdoc/> public SetSubscriptionAttributeResponse SetSubscriptionAttribute(SetSubscriptionAttributeRequest request) { return(AggregateExceptionExtract.Extract(() => { return SetSubscriptionAttributeAsync(request).Result; })); }
/// <inheritdoc/> public SetSubscriptionAttributeResponse SetSubscriptionAttribute(SetSubscriptionAttributeRequest request) { request.TopicName = this.TopicName; var marshaller = new SetSubscriptionAttributeRequestMarshaller(); var unmarshaller = SetSubscriptionAttributeResponseUnmarshaller.Instance; return(_serviceClient.Invoke <SetSubscriptionAttributeRequest, SetSubscriptionAttributeResponse>(request, marshaller, unmarshaller)); }
/// <inheritdoc/> public IAsyncResult BeginSetSubscriptionAttribute(SetSubscriptionAttributeRequest request, AsyncCallback callback, object state) { request.TopicName = this.TopicName; var marshaller = new SetSubscriptionAttributeRequestMarshaller(); var unmarshaller = SetSubscriptionAttributeResponseUnmarshaller.Instance; return(_serviceClient.BeginInvoke <SetSubscriptionAttributeRequest>(request, marshaller, unmarshaller, callback, state)); }
public async Task <SetSubscriptionAttributeResponse> SetSubscriptionAttributeAsync(SetSubscriptionAttributeRequest request) { request.TopicName = this.TopicName; var marshaller = new SetSubscriptionAttributeRequestMarshaller(); var unmarshaller = SetSubscriptionAttributeResponseUnmarshaller.Instance; return(await _serviceClient.InvokeAsync <SetSubscriptionAttributeRequest, SetSubscriptionAttributeResponse>(request, marshaller, unmarshaller).ConfigureAwait(false)); }