Export (0) Print
Expand All

BrokeredMessage.LockToken Property

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

Namespace:  Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

function get LockToken () : Guid
internal function set LockToken (value : Guid)

Property Value

Type: System.Guid
The lock token assigned by Service Bus to this message.

ExceptionCondition
ObjectDisposedException

Thrown if the message is in disposed state.

InvalidOperationException

Thrown if the message was not received from the ServiceBus.

This is only available when a message is received in peek-lock mode.

Community Additions

ADD
Show:
© 2014 Microsoft