<PackageReference Include="Grpc.Net.Client" Version="2.80.0" />

Grpc.Net.Client.Balancer.SubchannelPicker

public abstract class SubchannelPicker
Base type for picking a subchannel. A SubchannelPicker is responsible for picking a ready Subchannel that gRPC calls will use.

Load balancers implement SubchannelPicker with their own balancing logic to determine which subchannel is returned for a call.

Note: Experimental API that can change or be removed without any prior notice.

protected SubchannelPicker()

public abstract PickResult Pick(PickContext context)

Picks a ready Subchannel for the specified context.