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

DetachVpnGatewayAsync() public method

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

            return InvokeAsync<DetachVpnGatewayRequest,DetachVpnGatewayResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonEC2Client