Udostępnij za pośrednictwem


BrokeredMessage.RenewLock Method

Definition

Renews the lock on a message.

public void RenewLock ();
member this.RenewLock : unit -> unit
Public Sub 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.

Applies to