SALES: 1-800-867-1380

QueueClient.ReceiveBatchAsync Method (Int32)

Asynchronously receives a message batch.

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

public function ReceiveBatchAsync(
	messageCount : int
) : Task<IEnumerable<BrokeredMessage>>

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.Threading.Tasks.Task(IEnumerable(BrokeredMessage))
The asynchronous operation.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft