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

ListTaskDefinitionsAsync() public method

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

            return InvokeAsync<ListTaskDefinitionsRequest,ListTaskDefinitionsResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonECSClient