ReceiveBatch Method (Int32)

QueueClient.ReceiveBatch Method (Int32)

 

Receives a message batch.

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

public IEnumerable<BrokeredMessage> ReceiveBatch(
	int messageCount
)

Parameters

messageCount
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 message batch.

Return to top
Show:
© 2016 Microsoft