Amazon.OpsWorks.AmazonOpsWorksClient.StopStackAsync C# (CSharp) Méthode

StopStackAsync() public méthode

Initiates the asynchronous execution of the StopStack operation.
public StopStackAsync ( StopStackRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.OpsWorks.Model.StopStackRequest Container for the necessary parameters to execute the StopStack 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<StopStackResponse> StopStackAsync(StopStackRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new StopStackRequestMarshaller();
            var unmarshaller = StopStackResponseUnmarshaller.Instance;

            return InvokeAsync<StopStackRequest,StopStackResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonOpsWorksClient