Partilhar via


RealTimeConnectionManager.DnsLoadBalancingDisabled Property

Gets or sets whether DNS load balancing is disabled. By default, DNS load balancing is enabled.

Namespace:  Microsoft.Rtc.Signaling
Assembly:  Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Public Property DnsLoadBalancingDisabled As Boolean
    Get
    Set
'Usage
Dim instance As RealTimeConnectionManager
Dim value As Boolean

value = instance.DnsLoadBalancingDisabled

instance.DnsLoadBalancingDisabled = value
public bool DnsLoadBalancingDisabled { get; set; }

Property Value

Type: System.Boolean

Remarks

Setting this property to true will disable DNS load balancing.

When enabled, DNS load balancing will rotate between addresses returned from DNS to find an address to use to reach the destination. If one of the addresses is down, then alternate addresses will be tried before retrying the original address.

It is recommended that this be configured before listening or sending request on the connection manager.

See Also

Reference

RealTimeConnectionManager Class

RealTimeConnectionManager Members

Microsoft.Rtc.Signaling Namespace