Renews the lock on a message.
Assembly: Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)
If IsTransient is true, you can retry the operation immediately.
You can retry the operation immediately.
Thrown if you have called too late. In a session, this is never thrown.
enables long-running processing operations on messages. RenewLock updates the message lock by resetting the service side timer, and updates the LockedUntilUtc property once RenewLock completes. You can renew locks for the same duration as the entity lock timeout, and there is no maximum duration for a lock renewal.
always renews the message lock, regardless of whether it is from a session queue or not. To renew a session lock, use RenewLock() instead.