Compartilhar via


EventHubConsumerGroup.RegisterProcessorFactoryAsync Método

Definição

Sobrecargas

RegisterProcessorFactoryAsync(Lease, ICheckpointManager, IEventProcessorFactory)

Versão assíncrona de RegisterProcessorFactory(Lease, ICheckpointManager, IEventProcessorFactory).

RegisterProcessorFactoryAsync(Lease, ICheckpointManager, IEventProcessorFactory, EventProcessorOptions)

Versão assíncrona de RegisterProcessorFactory(Lease, ICheckpointManager, IEventProcessorFactory, EventProcessorOptions).

RegisterProcessorFactoryAsync(Lease, ICheckpointManager, IEventProcessorFactory)

public System.Threading.Tasks.Task RegisterProcessorFactoryAsync (Microsoft.ServiceBus.Messaging.Lease lease, Microsoft.ServiceBus.Messaging.ICheckpointManager checkpointManager, Microsoft.ServiceBus.Messaging.IEventProcessorFactory eventProcessorFactory);
member this.RegisterProcessorFactoryAsync : Microsoft.ServiceBus.Messaging.Lease * Microsoft.ServiceBus.Messaging.ICheckpointManager * Microsoft.ServiceBus.Messaging.IEventProcessorFactory -> System.Threading.Tasks.Task
Public Function RegisterProcessorFactoryAsync (lease As Lease, checkpointManager As ICheckpointManager, eventProcessorFactory As IEventProcessorFactory) As Task

Parâmetros

lease
Lease

Informações de partição.

checkpointManager
ICheckpointManager

Verifica o deslocamento da partição especificada quando CheckpointAsync(EventData) é chamado.

eventProcessorFactory
IEventProcessorFactory

Factory para criar uma instância do IEventProcessor.

Retornos

Uma instância de tarefa que representa a operação assíncrona.

Aplica-se a

RegisterProcessorFactoryAsync(Lease, ICheckpointManager, IEventProcessorFactory, EventProcessorOptions)

public System.Threading.Tasks.Task RegisterProcessorFactoryAsync (Microsoft.ServiceBus.Messaging.Lease lease, Microsoft.ServiceBus.Messaging.ICheckpointManager checkpointManager, Microsoft.ServiceBus.Messaging.IEventProcessorFactory eventProcessorFactory, Microsoft.ServiceBus.Messaging.EventProcessorOptions processorOptions);
member this.RegisterProcessorFactoryAsync : Microsoft.ServiceBus.Messaging.Lease * Microsoft.ServiceBus.Messaging.ICheckpointManager * Microsoft.ServiceBus.Messaging.IEventProcessorFactory * Microsoft.ServiceBus.Messaging.EventProcessorOptions -> System.Threading.Tasks.Task
Public Function RegisterProcessorFactoryAsync (lease As Lease, checkpointManager As ICheckpointManager, eventProcessorFactory As IEventProcessorFactory, processorOptions As EventProcessorOptions) As Task

Parâmetros

lease
Lease

Informações de partição.

checkpointManager
ICheckpointManager

Verifica o deslocamento da partição especificada quando CheckpointAsync(EventData) é chamado.

eventProcessorFactory
IEventProcessorFactory

Factory para criar uma instância do IEventProcessor.

processorOptions
EventProcessorOptions

Um objeto EventProcessorOptions.

Retornos

Retorna Task.

Aplica-se a