Amazon.EC2.AmazonEC2Client.DescribeCustomerGatewaysAsync C# (CSharp) Méthode

DescribeCustomerGatewaysAsync() public méthode

Initiates the asynchronous execution of the DescribeCustomerGateways operation.
public DescribeCustomerGatewaysAsync ( DescribeCustomerGatewaysRequest request, System cancellationToken = default(CancellationToken) ) : Task
request DescribeCustomerGatewaysRequest Container for the necessary parameters to execute the DescribeCustomerGateways operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Résultat Task
        public Task<DescribeCustomerGatewaysResponse> DescribeCustomerGatewaysAsync(DescribeCustomerGatewaysRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new DescribeCustomerGatewaysRequestMarshaller();
            var unmarshaller = DescribeCustomerGatewaysResponseUnmarshaller.Instance;

            return InvokeAsync<DescribeCustomerGatewaysRequest,DescribeCustomerGatewaysResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }

Same methods

AmazonEC2Client::DescribeCustomerGatewaysAsync ( System cancellationToken = default(CancellationToken) ) : Task
AmazonEC2Client