IEventProcessor.ProcessEventsAsync 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.
Called by the processor host when a batch of events has arrived.
This is where the real work of the event processor is done.
public System.Threading.Tasks.Task ProcessEventsAsync (Microsoft.Azure.EventHubs.Processor.PartitionContext context, System.Collections.Generic.IEnumerable<Microsoft.Azure.EventHubs.EventData> messages);
abstract member ProcessEventsAsync : Microsoft.Azure.EventHubs.Processor.PartitionContext * seq<Microsoft.Azure.EventHubs.EventData> -> System.Threading.Tasks.Task
Public Function ProcessEventsAsync (context As PartitionContext, messages As IEnumerable(Of EventData)) As Task
Parameters
- context
- PartitionContext
Information about the partition.
- messages
- IEnumerable<EventData>
The events to be processed.
Returns
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET