ChangeFeedProcessorBuilder.WithFeedDocumentClient Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.