Share via


ChangeFeedProcessorBuilder.WithFeedDocumentClient Method

Definition

Overloads

WithFeedDocumentClient(IChangeFeedDocumentClient)

Sets an existing IChangeFeedDocumentClient to be used to read from the monitored collection.

WithFeedDocumentClient(DocumentClient)

Sets an existing DocumentClient to be used to read from the monitored collection.

WithFeedDocumentClient(IChangeFeedDocumentClient)

Sets an existing IChangeFeedDocumentClient to be used to read from the monitored collection.

public Microsoft.Azure.Documents.ChangeFeedProcessor.ChangeFeedProcessorBuilder WithFeedDocumentClient (Microsoft.Azure.Documents.ChangeFeedProcessor.DataAccess.IChangeFeedDocumentClient feedDocumentClient);
member this.WithFeedDocumentClient : Microsoft.Azure.Documents.ChangeFeedProcessor.DataAccess.IChangeFeedDocumentClient -> Microsoft.Azure.Documents.ChangeFeedProcessor.ChangeFeedProcessorBuilder
Public Function WithFeedDocumentClient (feedDocumentClient As IChangeFeedDocumentClient) As ChangeFeedProcessorBuilder

Parameters

feedDocumentClient
IChangeFeedDocumentClient

The instance of IChangeFeedDocumentClient to use.

Returns

The instance of ChangeFeedProcessorBuilder to use.

Applies to

WithFeedDocumentClient(DocumentClient)

Sets an existing DocumentClient to be used to read from the monitored collection.

public Microsoft.Azure.Documents.ChangeFeedProcessor.ChangeFeedProcessorBuilder WithFeedDocumentClient (Microsoft.Azure.Documents.Client.DocumentClient feedDocumentClient);
member this.WithFeedDocumentClient : Microsoft.Azure.Documents.Client.DocumentClient -> Microsoft.Azure.Documents.ChangeFeedProcessor.ChangeFeedProcessorBuilder
Public Function WithFeedDocumentClient (feedDocumentClient As DocumentClient) As ChangeFeedProcessorBuilder

Parameters

feedDocumentClient
DocumentClient

The instance of DocumentClient to use.

Returns

The instance of ChangeFeedProcessorBuilder to use.

Applies to