Amazon.EC2.AmazonEC2Client.AssociateAddressAsync C# (CSharp) 메소드

AssociateAddressAsync() 공개 메소드

Initiates the asynchronous execution of the AssociateAddress operation.
public AssociateAddressAsync ( AssociateAddressRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.EC2.Model.AssociateAddressRequest Container for the necessary parameters to execute the AssociateAddress operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
리턴 Task
        public Task<AssociateAddressResponse> AssociateAddressAsync(AssociateAddressRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new AssociateAddressRequestMarshaller();
            var unmarshaller = AssociateAddressResponseUnmarshaller.Instance;

            return InvokeAsync<AssociateAddressRequest,AssociateAddressResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonEC2Client