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

DescribeTaskDefinitionAsync() public method

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

            return InvokeAsync<DescribeTaskDefinitionRequest,DescribeTaskDefinitionResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonECSClient