IChangeFeedObserverContext Interface
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.
Represents the context passed to IChangeFeedObserver events.
public interface IChangeFeedObserverContext
type IChangeFeedObserverContext = interface
Public Interface IChangeFeedObserverContext
Properties
FeedResponse |
Gets the response from the underlying ExecuteNextAsync(CancellationToken) call. |
PartitionKeyRangeId |
Gets the id of the partition for the current event. |
Methods
CheckpointAsync() |
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. |