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

DisassociateAddressAsync() public method

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

            return InvokeAsync<DisassociateAddressRequest,DisassociateAddressResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonEC2Client