QueueClient::ReceiveBatchAsync Method (Int32)
Asynchronously receives a message batch.
Assembly: Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)
public: Task<IEnumerable<BrokeredMessage^>^>^ ReceiveBatchAsync( int 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.