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

DeleteNatGatewayAsync() public method

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

            return InvokeAsync<DeleteNatGatewayRequest,DeleteNatGatewayResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonEC2Client