Udostępnij za pośrednictwem


IEventProcessorFactory Interface

Definition

An interface that provides a factory for creating instances of IEventProcessor.

public interface IEventProcessorFactory
type IEventProcessorFactory = interface
Public Interface IEventProcessorFactory
Derived

Remarks

Use a factory if you need a more advance way to create IEventProcessor. Otherwise you can use EventHubConsumerGroup.RegisterProcessor to specify just the event processor type.

Methods

CreateEventProcessor(PartitionContext)

Creates a new instance of an event processor in the specified partition.

Applies to