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

CountOpenWorkflowExecutionsAsync() public method

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

            return InvokeAsync<CountOpenWorkflowExecutionsRequest,CountOpenWorkflowExecutionsResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonSimpleWorkflowClient