Share via


IEventProcessor.ProcessEventsAsync Método

Definición

Lo llama el host del procesador cuando ha llegado un lote de eventos.

Aquí es donde se realiza el trabajo real del procesador de eventos.

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

Parámetros

context
PartitionContext

Información sobre la partición.

messages
IEnumerable<EventData>

Eventos que se van a procesar.

Devoluciones

Se aplica a