ChangeFeedProcessorBuilder.WithLeaseDocumentClient 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
WithLeaseDocumentClient(IChangeFeedDocumentClient) |
Sets an existing IChangeFeedDocumentClient to be used to read from the leases collection. |
WithLeaseDocumentClient(DocumentClient) |
Sets an existing DocumentClient to be used to read from the leases collection. |
WithLeaseDocumentClient(IChangeFeedDocumentClient)
Sets an existing IChangeFeedDocumentClient to be used to read from the leases collection.
public Microsoft.Azure.Documents.ChangeFeedProcessor.ChangeFeedProcessorBuilder WithLeaseDocumentClient (Microsoft.Azure.Documents.ChangeFeedProcessor.DataAccess.IChangeFeedDocumentClient leaseDocumentClient);
member this.WithLeaseDocumentClient : Microsoft.Azure.Documents.ChangeFeedProcessor.DataAccess.IChangeFeedDocumentClient -> Microsoft.Azure.Documents.ChangeFeedProcessor.ChangeFeedProcessorBuilder
Public Function WithLeaseDocumentClient (leaseDocumentClient As IChangeFeedDocumentClient) As ChangeFeedProcessorBuilder
Parameters
- leaseDocumentClient
- IChangeFeedDocumentClient
The instance of IChangeFeedDocumentClient to use.
Returns
The instance of ChangeFeedProcessorBuilder to use.
Applies to
WithLeaseDocumentClient(DocumentClient)
Sets an existing DocumentClient to be used to read from the leases collection.
public Microsoft.Azure.Documents.ChangeFeedProcessor.ChangeFeedProcessorBuilder WithLeaseDocumentClient (Microsoft.Azure.Documents.Client.DocumentClient leaseDocumentClient);
member this.WithLeaseDocumentClient : Microsoft.Azure.Documents.Client.DocumentClient -> Microsoft.Azure.Documents.ChangeFeedProcessor.ChangeFeedProcessorBuilder
Public Function WithLeaseDocumentClient (leaseDocumentClient As DocumentClient) As ChangeFeedProcessorBuilder
Parameters
- leaseDocumentClient
- DocumentClient
The instance of DocumentClient to use.
Returns
The instance of ChangeFeedProcessorBuilder to use.
Applies to
Azure SDK for .NET