IQueueAdapterReceiver.GetQueueMessagesAsync(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves batches from a message queue.
public System.Threading.Tasks.Task<System.Collections.Generic.IList<Orleans.Streams.IBatchContainer>> GetQueueMessagesAsync (int maxCount);
abstract member GetQueueMessagesAsync : int -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Orleans.Streams.IBatchContainer>>
Public Function GetQueueMessagesAsync (maxCount As Integer) As Task(Of IList(Of IBatchContainer))
Parameters
- maxCount
- Int32
The maximum number of message batches to retrieve.
Returns
The message batches.