IChangeFeedObserver インターフェイス

定義

注意事項

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

このインターフェイスは、ドキュメント フィード オブザーバーに変更イベントを配信するために使用されます。

[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
属性

メソッド

CloseAsync(ChangeFeedObserverContext, ChangeFeedObserverCloseReason)
古い.

これは、変更フィード オブザーバーが閉じられたときに呼び出されます。

OpenAsync(ChangeFeedObserverContext)
古い.

これは、変更フィード オブザーバーを開いたときに呼び出されます。

ProcessChangesAsync(ChangeFeedObserverContext, IReadOnlyList<Document>)
古い.

これは、ドキュメントの変更が変更フィードで使用できる場合に呼び出されます。

適用対象