Share via


MessageReceiver.GetLockToken(BrokeredMessage) Method

Definition

Gets the lock token bound to the message.

protected static Guid GetLockToken (Microsoft.ServiceBus.Messaging.BrokeredMessage message);
static member GetLockToken : Microsoft.ServiceBus.Messaging.BrokeredMessage -> Guid
Protected Shared Function GetLockToken (message As BrokeredMessage) As Guid

Parameters

message
BrokeredMessage

The BrokeredMessage from which to get the lock token.

Returns

The lock token of the message.

Applies to