Beispiel #1
0
 /// <inheritdoc/>
 public SetSubscriptionAttributeResponse SetSubscriptionAttribute(SetSubscriptionAttributeRequest request)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return SetSubscriptionAttributeAsync(request).Result;
     }));
 }
Beispiel #2
0
        /// <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));
        }
Beispiel #3
0
        /// <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));
        }
Beispiel #4
0
        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));
        }