Amazon.SimpleWorkflow.AmazonSimpleWorkflowClient.TerminateWorkflowExecutionAsync C# (CSharp) Метод

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

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

            return InvokeAsync<TerminateWorkflowExecutionRequest,TerminateWorkflowExecutionResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonSimpleWorkflowClient