SubscriptionClient.ReceiveBatchAsync Method (Int32)


Asynchronously receives a set of messages (for batch processing).

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

public Task<IEnumerable<BrokeredMessage>> ReceiveBatchAsync(
	int 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.Threading.Tasks.Task<IEnumerable<BrokeredMessage>>

A task instance that represents the asynchronous receive batch operation.

Return to top