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
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