EventProcessorClient.PartitionInitializingAsync Event


Performs the tasks to initialize a partition, and its associated context, for event processing.

It is not recommended that the state of the processor be managed directly from within this method; requesting to start or stop the processor may result in a deadlock scenario, especially if using the synchronous form of the call.

public event Func<Azure.Messaging.EventHubs.Processor.PartitionInitializingEventArgs,System.Threading.Tasks.Task> PartitionInitializingAsync;
member this.PartitionInitializingAsync : Func<Azure.Messaging.EventHubs.Processor.PartitionInitializingEventArgs, System.Threading.Tasks.Task> 
Public Custom Event PartitionInitializingAsync As Func(Of PartitionInitializingEventArgs, Task) 

Event Type


Applies to