Amazon.SimpleWorkflow.AmazonSimpleWorkflowClient.CountClosedWorkflowExecutionsAsync C# (CSharp) Method

CountClosedWorkflowExecutionsAsync() public method

Initiates the asynchronous execution of the CountClosedWorkflowExecutions operation.
public CountClosedWorkflowExecutionsAsync ( CountClosedWorkflowExecutionsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.SimpleWorkflow.Model.CountClosedWorkflowExecutionsRequest Container for the necessary parameters to execute the CountClosedWorkflowExecutions operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<CountClosedWorkflowExecutionsResponse> CountClosedWorkflowExecutionsAsync(CountClosedWorkflowExecutionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new CountClosedWorkflowExecutionsRequestMarshaller();
            var unmarshaller = CountClosedWorkflowExecutionsResponseUnmarshaller.Instance;

            return InvokeAsync<CountClosedWorkflowExecutionsRequest,CountClosedWorkflowExecutionsResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonSimpleWorkflowClient