QueueClient::BeginReceiveBatch Method (Int32, TimeSpan, AsyncCallback, Object)
Begins an asynchronous operation to receive a message batch.
Assembly: Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)
public: virtual IAsyncResult^ BeginReceiveBatch( int messageCount, TimeSpan serverWaitTime, AsyncCallback^ callback, Object^ state ) sealed
- Type: System::Int32
The maximum number of messages to receive in a batch.
- Type: System::TimeSpan
The time span that the server will wait for the message batch to arrive before it times out.
- Type: System::AsyncCallback
An AsyncCallback delegate that references the method to invoke when the operation is complete.
- Type: System::Object
A user-defined object that contains state information about the asynchronous operation.