Exemplo n.º 1
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));
        }
Exemplo n.º 2
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));
        }
Exemplo n.º 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));
        }