ServicePointManagerElement.DnsRefreshTimeout Property


Gets or sets the amount of time after which address information is refreshed.

Namespace:   System.Net.Configuration
Assembly:  System (in System.dll)

[ConfigurationPropertyAttribute("dnsRefreshTimeout", DefaultValue = 120000)]
public int DnsRefreshTimeout { get; set; }

Property Value

Type: System.Int32

A TimeSpan that specifies when addresses are resolved using DNS.

The value of this property sets the DnsRefreshTimeout property.

.NET Framework
Available since 2.0
Return to top