Exemplo n.º 1
0
        /// <inheritdoc/>
        public GetSubscriptionAttributeResponse GetSubscriptionAttribute(GetSubscriptionAttributeRequest request)
        {
            request.TopicName = this.TopicName;

            var marshaller   = new GetSubscriptionAttributeRequestMarshaller();
            var unmarshaller = GetSubscriptionAttributeResponseUnmarshaller.Instance;

            return(_serviceClient.Invoke <GetSubscriptionAttributeRequest, GetSubscriptionAttributeResponse>(request, marshaller, unmarshaller));
        }
Exemplo n.º 2
0
        public async Task <GetSubscriptionAttributeResponse> GetSubscriptionAttributeAsync(GetSubscriptionAttributeRequest request)
        {
            request.TopicName = this.TopicName;

            var marshaller   = new GetSubscriptionAttributeRequestMarshaller();
            var unmarshaller = GetSubscriptionAttributeResponseUnmarshaller.Instance;

            return(await _serviceClient.InvokeAsync <GetSubscriptionAttributeRequest, GetSubscriptionAttributeResponse>(request, marshaller, unmarshaller).ConfigureAwait(false));
        }
Exemplo n.º 3
0
        /// <inheritdoc/>
        public IAsyncResult BeginGetSubscriptionAttribute(GetSubscriptionAttributeRequest request, AsyncCallback callback, object state)
        {
            request.TopicName = this.TopicName;

            var marshaller   = new GetSubscriptionAttributeRequestMarshaller();
            var unmarshaller = GetSubscriptionAttributeResponseUnmarshaller.Instance;

            return(_serviceClient.BeginInvoke <GetSubscriptionAttributeRequest>(request, marshaller, unmarshaller,
                                                                                callback, state));
        }