ChangeFeedProcessorBuilder.WithLeaseStoreManager(ILeaseStoreManager) Method

Definition

Sets the ILeaseStoreManager to be used to manage leases.

public Microsoft.Azure.Documents.ChangeFeedProcessor.ChangeFeedProcessorBuilder WithLeaseStoreManager (Microsoft.Azure.Documents.ChangeFeedProcessor.LeaseManagement.ILeaseStoreManager leaseStoreManager);
member this.WithLeaseStoreManager : Microsoft.Azure.Documents.ChangeFeedProcessor.LeaseManagement.ILeaseStoreManager -> Microsoft.Azure.Documents.ChangeFeedProcessor.ChangeFeedProcessorBuilder
Public Function WithLeaseStoreManager (leaseStoreManager As ILeaseStoreManager) As ChangeFeedProcessorBuilder

Parameters

leaseStoreManager
ILeaseStoreManager

The instance of ILeaseStoreManager to use.

Returns

The instance of ChangeFeedProcessorBuilder to use.

Applies to