Amazon.StepFunctions.AmazonStepFunctionsClient.StopExecutionAsync C# (CSharp) Метод

StopExecutionAsync() публичный Метод

Initiates the asynchronous execution of the StopExecution operation.
public StopExecutionAsync ( StopExecutionRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.StepFunctions.Model.StopExecutionRequest Container for the necessary parameters to execute the StopExecution operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task
        public Task<StopExecutionResponse> StopExecutionAsync(StopExecutionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new StopExecutionRequestMarshaller();
            var unmarshaller = StopExecutionResponseUnmarshaller.Instance;

            return InvokeAsync<StopExecutionRequest,StopExecutionResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }