Amazon.EC2.AmazonEC2Client.DescribeVpcEndpointServicesAsync C# (CSharp) Method

DescribeVpcEndpointServicesAsync() public method

Initiates the asynchronous execution of the DescribeVpcEndpointServices operation.
public DescribeVpcEndpointServicesAsync ( DescribeVpcEndpointServicesRequest request, System cancellationToken = default(CancellationToken) ) : Task
request DescribeVpcEndpointServicesRequest Container for the necessary parameters to execute the DescribeVpcEndpointServices operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<DescribeVpcEndpointServicesResponse> DescribeVpcEndpointServicesAsync(DescribeVpcEndpointServicesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new DescribeVpcEndpointServicesRequestMarshaller();
            var unmarshaller = DescribeVpcEndpointServicesResponseUnmarshaller.Instance;

            return InvokeAsync<DescribeVpcEndpointServicesRequest,DescribeVpcEndpointServicesResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonEC2Client