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

AssociateDhcpOptionsAsync() public method

Initiates the asynchronous execution of the AssociateDhcpOptions operation.
public AssociateDhcpOptionsAsync ( AssociateDhcpOptionsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.EC2.Model.AssociateDhcpOptionsRequest Container for the necessary parameters to execute the AssociateDhcpOptions operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<AssociateDhcpOptionsResponse> AssociateDhcpOptionsAsync(AssociateDhcpOptionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new AssociateDhcpOptionsRequestMarshaller();
            var unmarshaller = AssociateDhcpOptionsResponseUnmarshaller.Instance;

            return InvokeAsync<AssociateDhcpOptionsRequest,AssociateDhcpOptionsResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonEC2Client