Udostępnij za pośrednictwem


MessageReceiver.GetLockTokens(IEnumerable<BrokeredMessage>) Method

Definition

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

protected static System.Collections.Generic.IEnumerable<Guid> GetLockTokens (System.Collections.Generic.IEnumerable<Microsoft.ServiceBus.Messaging.BrokeredMessage> messages);
static member GetLockTokens : seq<Microsoft.ServiceBus.Messaging.BrokeredMessage> -> seq<Guid>
Protected Shared Function GetLockTokens (messages As IEnumerable(Of BrokeredMessage)) As IEnumerable(Of Guid)

Parameters

messages
IEnumerable<BrokeredMessage>

The collection of messages from which to get the lock tokens.

Returns

The collection of lock tokens from the specified messages.

Applies to