Skip to content

IEventHubReceiver.ReceiveAsync(int, TimeSpan)

ReceiveAsync(int, TimeSpan)

abstract
public abstract Task<IEnumerable<EventData>> ReceiveAsync(int maxCount, TimeSpan waitTime)
Send an async message to the partition asking for more messages

Parameters

maxCountint
Max amount of message which should be delivered in this request
waitTimeTimeSpan
Wait time of this request