Udostępnij za pośrednictwem


IEventProcessor.OpenAsync(PartitionContext) Method

Definition

Initializes the Event Hub processor instance. This method is called before any event data is passed to this processor instance.

public System.Threading.Tasks.Task OpenAsync (Microsoft.ServiceBus.Messaging.PartitionContext context);
abstract member OpenAsync : Microsoft.ServiceBus.Messaging.PartitionContext -> System.Threading.Tasks.Task
Public Function OpenAsync (context As PartitionContext) As Task

Parameters

context
PartitionContext

Ownership information for the partition on which this processor instance works. Any attempt to call CheckpointAsync() will fail during the Open operation.

Returns

The task that indicates that the Open operation is complete.

Applies to