SALES: 1-800-867-1380

SubscriptionClient.ReceiveBatch Method (Int32)

Receives a batch after the asynchronous operation.

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

public final function ReceiveBatch(
	messageCount : int
) : IEnumerable<BrokeredMessage>


Type: System.Int32
The maximum number of messages to return in the batch. As this is an approximation, fewer messages may be returned even if the number of messages is higher than messageCount.

Return Value

Type: System.Collections.Generic.IEnumerable(BrokeredMessage)
A batch after the asynchronous operation.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft