您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

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);
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