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

CreateInternetGatewayAsync() public méthode

Initiates the asynchronous execution of the CreateInternetGateway operation.
public CreateInternetGatewayAsync ( CreateInternetGatewayRequest request, System cancellationToken = default(CancellationToken) ) : Task
request CreateInternetGatewayRequest Container for the necessary parameters to execute the CreateInternetGateway 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<CreateInternetGatewayResponse> CreateInternetGatewayAsync(CreateInternetGatewayRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new CreateInternetGatewayRequestMarshaller();
            var unmarshaller = CreateInternetGatewayResponseUnmarshaller.Instance;

            return InvokeAsync<CreateInternetGatewayRequest,CreateInternetGatewayResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }

Same methods

AmazonEC2Client::CreateInternetGatewayAsync ( System cancellationToken = default(CancellationToken) ) : Task
AmazonEC2Client