Share via


EventProcessorClient.UpdateCheckpointAsync Method

Definition

Creates or updates a checkpoint for a specific partition, identifying a position in the partition's event stream that an event processor should begin reading from.

protected override System.Threading.Tasks.Task UpdateCheckpointAsync (string partitionId, Azure.Messaging.EventHubs.Processor.CheckpointPosition startingPosition, System.Threading.CancellationToken cancellationToken);
override this.UpdateCheckpointAsync : string * Azure.Messaging.EventHubs.Processor.CheckpointPosition * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Protected Overrides Function UpdateCheckpointAsync (partitionId As String, startingPosition As CheckpointPosition, cancellationToken As CancellationToken) As Task

Parameters

partitionId
String

The identifier of the partition the checkpoint is for.

startingPosition
CheckpointPosition

The starting position to associate with the checkpoint, indicating that a processor should begin reading from the next event in the stream.

cancellationToken
CancellationToken

A CancellationToken instance to signal a request to cancel the operation.

Returns

Applies to