SALES: 1-800-867-1380
Expand Minimize

MessageReceiver.GetLockToken Method

Gets the lock token bound to the message.

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

'Declaration
Protected Shared Function GetLockToken ( _
	message As BrokeredMessage _
) As Guid
'Usage
Dim message As BrokeredMessage 
Dim returnValue As Guid 

returnValue = MessageReceiver.GetLockToken(message)

Parameters

message
Type: Microsoft.ServiceBus.Messaging.BrokeredMessage
The BrokeredMessage from which to get the lock token.

Return Value

Type: System.Guid
The lock token of the message.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft