IChangeFeedObserver Interface

Definition

Caution

Switch to the ChangeFeedProcessorBuilder for building the change feed processor and use new interface Microsoft.Azure.Documents.ChangeFeedProcessor.FeedProcessing.IChangeFeedObserver with cancellation token support.

This interface is used to deliver change events to document feed observers.

[System.Obsolete("Switch to the ChangeFeedProcessorBuilder for building the change feed processor and use new interface Microsoft.Azure.Documents.ChangeFeedProcessor.FeedProcessing.IChangeFeedObserver with cancellation token support.")]
public interface IChangeFeedObserver
[<System.Obsolete("Switch to the ChangeFeedProcessorBuilder for building the change feed processor and use new interface Microsoft.Azure.Documents.ChangeFeedProcessor.FeedProcessing.IChangeFeedObserver with cancellation token support.")>]
type IChangeFeedObserver = interface
Public Interface IChangeFeedObserver
Attributes

Methods

CloseAsync(ChangeFeedObserverContext, ChangeFeedObserverCloseReason)

This is called when change feed observer is closed.

OpenAsync(ChangeFeedObserverContext)

This is called when change feed observer is opened.

ProcessChangesAsync(ChangeFeedObserverContext, IReadOnlyList<Document>)

This is called when document changes are available on change feed.

Applies to