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

DeleteInternetGatewayAsync() public method

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

            return InvokeAsync<DeleteInternetGatewayRequest,DeleteInternetGatewayResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonEC2Client