Amazon.IoT.AmazonIoTClient.ReplaceTopicRuleAsync C# (CSharp) Méthode

ReplaceTopicRuleAsync() public méthode

Initiates the asynchronous execution of the ReplaceTopicRule operation.
public ReplaceTopicRuleAsync ( ReplaceTopicRuleRequest request, System cancellationToken = default(CancellationToken) ) : Task
request ReplaceTopicRuleRequest Container for the necessary parameters to execute the ReplaceTopicRule operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Résultat Task
        public Task<ReplaceTopicRuleResponse> ReplaceTopicRuleAsync(ReplaceTopicRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new ReplaceTopicRuleRequestMarshaller();
            var unmarshaller = ReplaceTopicRuleResponseUnmarshaller.Instance;

            return InvokeAsync<ReplaceTopicRuleRequest,ReplaceTopicRuleResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonIoTClient