Partager via


ChangeFeedProcessorBuilder.WithObserverFactory Méthode

Définition

Définit le IChangeFeedObserverFactory à utiliser pour générer IChangeFeedObserver

public Microsoft.Azure.Documents.ChangeFeedProcessor.ChangeFeedProcessorBuilder WithObserverFactory (Microsoft.Azure.Documents.ChangeFeedProcessor.FeedProcessing.IChangeFeedObserverFactory observerFactory);
member this.WithObserverFactory : Microsoft.Azure.Documents.ChangeFeedProcessor.FeedProcessing.IChangeFeedObserverFactory -> Microsoft.Azure.Documents.ChangeFeedProcessor.ChangeFeedProcessorBuilder
Public Function WithObserverFactory (observerFactory As IChangeFeedObserverFactory) As ChangeFeedProcessorBuilder

Paramètres

observerFactory
IChangeFeedObserverFactory

Instance de IChangeFeedObserverFactory à utiliser.

Retours

Instance de ChangeFeedProcessorBuilder à utiliser.

S’applique à