SALES: 1-800-867-1380

QueueClient.PeekBatch Method (Int32)

Peeks a batch of message.

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

public IEnumerable<BrokeredMessage> PeekBatch(
	int messageCount
)

Parameters

messageCount
Type: System.Int32
The number of messages.

Return Value

Type: System.Collections.Generic.IEnumerable<BrokeredMessage>
A batch of messages peeked. Returns all properties and the message body.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft