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

DetachNetworkInterfaceAsync() public method

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

            return InvokeAsync<DetachNetworkInterfaceRequest,DetachNetworkInterfaceResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonEC2Client