IChangeFeedObserver Interface

Definição

Cuidado

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

Essa interface é usada para fornecer eventos de alteração para observadores de feed 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)
Obsoleto.

Isso é chamado quando o observador do feed de alterações é fechado.

OpenAsync(ChangeFeedObserverContext)
Obsoleto.

Isso é chamado quando o observador do feed de alterações é aberto.

ProcessChangesAsync(ChangeFeedObserverContext, IReadOnlyList<Document>)
Obsoleto.

Isso é chamado quando alterações de documento estão disponíveis no feed de alterações.

Aplica-se a