ServicePointManagerElement.DnsRefreshTimeout 属性
定义
获取或设置时间量,经过该时间后刷新地址信息。Gets or sets the amount of time after which address information is refreshed.
public:
property int DnsRefreshTimeout { int get(); void set(int value); };
[System.Configuration.ConfigurationProperty("dnsRefreshTimeout", DefaultValue=Mono.Cecil.CustomAttributeArgument)]
public int DnsRefreshTimeout { get; set; }
[<System.Configuration.ConfigurationProperty("dnsRefreshTimeout", DefaultValue=Mono.Cecil.CustomAttributeArgument)>]
member this.DnsRefreshTimeout : int with get, set
Public Property DnsRefreshTimeout As Integer
属性值
指定何时使用 DNS 解析地址的 TimeSpan。A TimeSpan that specifies when addresses are resolved using DNS.
- 属性
注解
此属性的值设置 DnsRefreshTimeout 属性。The value of this property sets the DnsRefreshTimeout property.