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)

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

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
Show: