共用方式為


BrokeredMessageProperty.LockToken Property

Definition

Gets the lock token assigned by Service Bus to the 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 the message.

Exceptions

If the message is in disposed state.

If the message was not received from the ServiceBus.

Applies to