Amazon.ECS.AmazonECSClient.ListContainerInstancesAsync C# (CSharp) Method

ListContainerInstancesAsync() public method

Initiates the asynchronous execution of the ListContainerInstances operation.
public ListContainerInstancesAsync ( ListContainerInstancesRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ECS.Model.ListContainerInstancesRequest Container for the necessary parameters to execute the ListContainerInstances operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<ListContainerInstancesResponse> ListContainerInstancesAsync(ListContainerInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new ListContainerInstancesRequestMarshaller();
            var unmarshaller = ListContainerInstancesResponseUnmarshaller.Instance;

            return InvokeAsync<ListContainerInstancesRequest,ListContainerInstancesResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonECSClient