Udostępnij za pośrednictwem


PartitionReceiver.OnReceiveAsync(Int32, TimeSpan) Method

Definition

protected abstract System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.EventHubs.EventData>> OnReceiveAsync (int maxMessageCount, TimeSpan waitTime);
abstract member OnReceiveAsync : int * TimeSpan -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.EventHubs.EventData>>
Protected MustOverride Function OnReceiveAsync (maxMessageCount As Integer, waitTime As TimeSpan) As Task(Of IList(Of EventData))

Parameters

maxMessageCount
Int32
waitTime
TimeSpan

Returns

Applies to