IChangeFeedObserver 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.
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
Azure SDK for .NET