Brokered​Message.​Renew​Lock Method

Definition

Renews the lock on a message.

public void RenewLock ();
Exceptions

If IsTransient is true, you can retry the operation immediately.

You can retry the operation immediately.

Thrown if you have called RenewLock() too late. In a session, this is never thrown.

Thrown instead of MessageLockLostException if the message is from a MessageSession.