IEventProcessor.OpenAsync(PartitionContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.