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

CreateNetworkAclAsync() public method

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

            return InvokeAsync<CreateNetworkAclRequest,CreateNetworkAclResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonEC2Client