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

CreateVpcAsync() public méthode

Initiates the asynchronous execution of the CreateVpc operation.
public CreateVpcAsync ( CreateVpcRequest request, System cancellationToken = default(CancellationToken) ) : Task
request CreateVpcRequest Container for the necessary parameters to execute the CreateVpc 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<CreateVpcResponse> CreateVpcAsync(CreateVpcRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new CreateVpcRequestMarshaller();
            var unmarshaller = CreateVpcResponseUnmarshaller.Instance;

            return InvokeAsync<CreateVpcRequest,CreateVpcResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonEC2Client