Amazon.CloudWatchEvents.AmazonCloudWatchEventsClient.RemoveTargetsAsync C# (CSharp) Méthode

RemoveTargetsAsync() public méthode

Initiates the asynchronous execution of the RemoveTargets operation.
public RemoveTargetsAsync ( RemoveTargetsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.CloudWatchEvents.Model.RemoveTargetsRequest Container for the necessary parameters to execute the RemoveTargets 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<RemoveTargetsResponse> RemoveTargetsAsync(RemoveTargetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new RemoveTargetsRequestMarshaller();
            var unmarshaller = RemoveTargetsResponseUnmarshaller.Instance;

            return InvokeAsync<RemoveTargetsRequest,RemoveTargetsResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }