ChangeFeedObserverContext Class

Definition

Caution

Switch to the ChangeFeedProcessorBuilder for building the change feed processor and use new interface Microsoft.Azure.Documents.ChangeFeedProcessor.FeedProcessing.IChangeFeedObserverContext.

The context passed to IChangeFeedObserver events.

[System.Obsolete("Switch to the ChangeFeedProcessorBuilder for building the change feed processor and use new interface Microsoft.Azure.Documents.ChangeFeedProcessor.FeedProcessing.IChangeFeedObserverContext.")]
public abstract class ChangeFeedObserverContext
[<System.Obsolete("Switch to the ChangeFeedProcessorBuilder for building the change feed processor and use new interface Microsoft.Azure.Documents.ChangeFeedProcessor.FeedProcessing.IChangeFeedObserverContext.")>]
type ChangeFeedObserverContext = class
Public MustInherit Class ChangeFeedObserverContext
Inheritance
ChangeFeedObserverContext
Attributes

Constructors

ChangeFeedObserverContext()

Properties

FeedResponse

Gets or sets the response from the underlying ExecuteNextAsync(CancellationToken) call.

PartitionKeyRangeId

Gets or sets the id of the partition for 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.

Applies to