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

Grpc.Net.Client.Balancer.BalancerAddress

public sealed class BalancerAddress
Represents a balancer address.

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

Gets the address attributes.

public DnsEndPoint EndPoint { get; }

Gets the address DnsEndPoint.

public BalancerAddress(DnsEndPoint endPoint)

Initializes a new instance of the BalancerAddress class with the specified DnsEndPoint.

public BalancerAddress(string host, int port)

Initializes a new instance of the BalancerAddress class with the specified host and port.