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

DeleteRouteAsync() public method

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

            return InvokeAsync<DeleteRouteRequest,DeleteRouteResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonEC2Client