Amazon.EC2.AmazonEC2Client.AttachInternetGatewayAsync C# (CSharp) Méthode

AttachInternetGatewayAsync() public méthode

Initiates the asynchronous execution of the AttachInternetGateway operation.
public AttachInternetGatewayAsync ( AttachInternetGatewayRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.EC2.Model.AttachInternetGatewayRequest Container for the necessary parameters to execute the AttachInternetGateway operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Résultat Task
        public Task<AttachInternetGatewayResponse> AttachInternetGatewayAsync(AttachInternetGatewayRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new AttachInternetGatewayRequestMarshaller();
            var unmarshaller = AttachInternetGatewayResponseUnmarshaller.Instance;

            return InvokeAsync<AttachInternetGatewayRequest,AttachInternetGatewayResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonEC2Client