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

DeleteVpcAsync() public method

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

            return InvokeAsync<DeleteVpcRequest,DeleteVpcResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonEC2Client