I'd like to use the Azure Service Bus client (Microsoft.ServiceBus.dll) in async mode, but am wondering how to handle cancellation. For example, the method QueueClient.ReceiveAsync does not take any CancellationToken, so considering that this method does not return as long as there is no message in the queue, how can I gracefully interrupt it if I want to take down the receiving loop?
Thanks a lot.