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

Grpc.Net.Client.Balancer.ChannelState

public sealed class ChannelState
Represents the state for a channel. This is created from results returned by a Resolver.

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

Gets a collection of addresses. Will be null if Status has a non-OK value.

Gets a collection of metadata attributes.

Gets an optional load balancing config.

public Status Status { get; }

Gets the status. Successful results has an OK status. A resolver error creates results with non-OK status. The status has details about the resolver error.