Was deze pagina nuttig?
Uw feedback over deze inhoud is belangrijk. Laat ons weten wat u denkt.
Aanvullende feedback?
1500 tekens resterend
Exporteren (0) Afdrukken
Alles uitvouwen
EN
Deze inhoud is niet beschikbaar in uw taal, maar wel in het Engels.

QueueClient.PeekBatch Method

Peeks a batch of message.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method PeekBatch(Int32) Peeks a batch of message.
Public method PeekBatch(Int64, Int32) Peeks a batch of messages.
Top

Each client instance caches the last sequence number and unless explicitly indicated, uses that sequence number to peek the next message. For example, if you peek all messages in a queue (in batches, providing the fromSequenceNumber parameter), and then peek with no parameter, the method returns no messages.

var messages = queueClient.PeekBatch(messageCount: 10);

Community-inhoud

Toevoegen
Weergeven:
© 2015 Microsoft