Renew lock when using ServiceBus in web jobs sdk
问题 I am using azure web jobs sdk in order to handle messages. ServiceBus is used for messaging. Max lock time in the ServiceBus message is 5 minutes, but I have long running tasks that take more time. In this case I should call BrokeredMessage.RenewLock, unfortunately looks that I don't have access from web jobs trigger to the BrokeredMessage (I just get message content). Does anyone know how to RnewLock in the web jobs trigger? 回答1: Behind the scenes, we use MessageReceiver.OnMessageAsync in