SALES: 1-800-867-1380

MessageReceiver.GetLockTokens Method

Gets the collection of lock tokens from the specified collection of messages.

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

Protected Shared Function GetLockTokens ( _
	messages As IEnumerable(Of BrokeredMessage) _
) As IEnumerable(Of Guid)
Dim messages As IEnumerable(Of BrokeredMessage)
Dim returnValue As IEnumerable(Of Guid)

returnValue = MessageReceiver.GetLockTokens(messages)


Type: System.Collections.Generic.IEnumerable(Of BrokeredMessage)
The collection of messages from which to get the lock tokens.

Return Value

Type: System.Collections.Generic.IEnumerable(Of Guid)
The collection of lock tokens from the specified messages.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft