MemoryStreamQueueGrain.Dequeue(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.
Dequeues up to a max amount of maxCount event data from the queue.
public System.Threading.Tasks.Task<System.Collections.Generic.List<Orleans.Providers.MemoryMessageData>> Dequeue (int maxCount);
abstract member Dequeue : int -> System.Threading.Tasks.Task<System.Collections.Generic.List<Orleans.Providers.MemoryMessageData>>
override this.Dequeue : int -> System.Threading.Tasks.Task<System.Collections.Generic.List<Orleans.Providers.MemoryMessageData>>
Public Function Dequeue (maxCount As Integer) As Task(Of List(Of MemoryMessageData))
Parameters
- maxCount
- Int32