PartitionReceiver.OnReceiveAsync(Int32, TimeSpan) 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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET