Amazon.ApplicationDiscoveryService.AmazonApplicationDiscoveryServiceClient.DescribeAgentsAsync C# (CSharp) Method

DescribeAgentsAsync() public method

Initiates the asynchronous execution of the DescribeAgents operation.
public DescribeAgentsAsync ( DescribeAgentsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ApplicationDiscoveryService.Model.DescribeAgentsRequest Container for the necessary parameters to execute the DescribeAgents operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<DescribeAgentsResponse> DescribeAgentsAsync(DescribeAgentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new DescribeAgentsRequestMarshaller();
            var unmarshaller = DescribeAgentsResponseUnmarshaller.Instance;

            return InvokeAsync<DescribeAgentsRequest,DescribeAgentsResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonApplicationDiscoveryServiceClient