共用方式為


IChangeFeedObserver Interface

Definition

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

public interface IChangeFeedObserver
type IChangeFeedObserver = interface
Public Interface IChangeFeedObserver

Methods

CloseAsync(IChangeFeedObserverContext, ChangeFeedObserverCloseReason)

This is called when change feed observer is closed.

OpenAsync(IChangeFeedObserverContext)

This is called when change feed observer is opened.

ProcessChangesAsync(IChangeFeedObserverContext, IReadOnlyList<Document>, CancellationToken)

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

Applies to