Esempio n. 1
0
        internal DeregisterEventTopicResponse DeregisterEventTopic(DeregisterEventTopicRequest request)
        {
            var marshaller   = new DeregisterEventTopicRequestMarshaller();
            var unmarshaller = DeregisterEventTopicResponseUnmarshaller.Instance;

            return(Invoke <DeregisterEventTopicRequest, DeregisterEventTopicResponse>(request, marshaller, unmarshaller));
        }
Esempio n. 2
0
        /// <summary>
        /// Initiates the asynchronous execution of the DeregisterEventTopic operation.
        /// </summary>
        ///
        /// <param name="request">Container for the necessary parameters to execute the DeregisterEventTopic operation.</param>
        /// <param name="cancellationToken">
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// </param>
        /// <returns>The task object representing the asynchronous operation.</returns>
        public Task <DeregisterEventTopicResponse> DeregisterEventTopicAsync(DeregisterEventTopicRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller   = new DeregisterEventTopicRequestMarshaller();
            var unmarshaller = DeregisterEventTopicResponseUnmarshaller.Instance;

            return(InvokeAsync <DeregisterEventTopicRequest, DeregisterEventTopicResponse>(request, marshaller,
                                                                                           unmarshaller, cancellationToken));
        }