Delen via


BrokeredMessage.LockToken Property

Definition

Gets the lock token assigned by Service Bus to this message.

public Guid LockToken { get; }
member this.LockToken : Guid
Public ReadOnly Property LockToken As Guid

Property Value

The lock token assigned by Service Bus to this message.

Exceptions

Thrown if the message is in disposed state.

Thrown if the message was not received from the ServiceBus.

Applies to