Megosztás a következőn keresztül:


ChangeFeedProcessorBuilder.WithObserverFactory Method

Definition

Sets the IChangeFeedObserverFactory to be used to generate 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

Parameters

observerFactory
IChangeFeedObserverFactory

The instance of IChangeFeedObserverFactory to use.

Returns

The instance of ChangeFeedProcessorBuilder to use.

Applies to