SubscriptionClient.ReceiveBatch Method (Int32)

 

Receives a batch after the asynchronous operation.

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

public IEnumerable<BrokeredMessage> ReceiveBatch(
	int messageCount
)

Parameters

messageCount
Type: System.Int32

The number of messages to return in the batch. As this is an approximation, fewer or more messages than messageCount may be returned.

Return Value

Type: System.Collections.Generic.IEnumerable<BrokeredMessage>

A batch after the asynchronous operation.

Return to top
Show: