Compartir a través de


IChangeFeedObserver Interfaz

Definición

Precaución

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

Esta interfaz se usa para entregar eventos de cambio a observadores de fuentes de documentos.

[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
Atributos

Métodos

CloseAsync(ChangeFeedObserverContext, ChangeFeedObserverCloseReason)
Obsoletos.

Esto se llama cuando se cierra el observador de fuente de cambios.

OpenAsync(ChangeFeedObserverContext)
Obsoletos.

Esto se llama cuando se abre el observador de fuente de cambios.

ProcessChangesAsync(ChangeFeedObserverContext, IReadOnlyList<Document>)
Obsoletos.

Esto se llama cuando los cambios del documento están disponibles en la fuente de cambios.

Se aplica a