Share via


ChangeFeedProcessorBuilder.WithPartitionLoadBalancingStrategy Method

Definition

Sets the IParitionLoadBalancingStrategy to be used for partition load balancing

public Microsoft.Azure.Documents.ChangeFeedProcessor.ChangeFeedProcessorBuilder WithPartitionLoadBalancingStrategy (Microsoft.Azure.Documents.ChangeFeedProcessor.PartitionManagement.IParitionLoadBalancingStrategy strategy);
member this.WithPartitionLoadBalancingStrategy : Microsoft.Azure.Documents.ChangeFeedProcessor.PartitionManagement.IParitionLoadBalancingStrategy -> Microsoft.Azure.Documents.ChangeFeedProcessor.ChangeFeedProcessorBuilder
Public Function WithPartitionLoadBalancingStrategy (strategy As IParitionLoadBalancingStrategy) As ChangeFeedProcessorBuilder

Parameters

Returns

The instance of ChangeFeedProcessorBuilder to use.

Applies to