共用方式為


IChangeFeedObserverContext.CheckpointAsync Method

Definition

Checkpoints progress of a stream. This method is valid only if manual checkpoint was configured. Client may accept multiple change feed batches to process in parallel. Once first N document processing was finished the client can call checkpoint on the last completed batches in the row. In case of automatic checkpointing this is method throws.

public System.Threading.Tasks.Task CheckpointAsync ();
abstract member CheckpointAsync : unit -> System.Threading.Tasks.Task
Public Function CheckpointAsync () As Task

Returns

Exceptions

Thrown if other host acquired the lease or the lease was deleted

Applies to