ProxyElement.AutoDetect 属性

定义

获取或设置一个 ProxyElement.AutoDetectValues 值,该值控制是否自动检测到 Web 代理。

public:
 property System::Net::Configuration::ProxyElement::AutoDetectValues AutoDetect { System::Net::Configuration::ProxyElement::AutoDetectValues get(); void set(System::Net::Configuration::ProxyElement::AutoDetectValues value); };
[System.Configuration.ConfigurationProperty("autoDetect", DefaultValue=System.Net.Configuration.ProxyElement+AutoDetectValues.Unspecified)]
public System.Net.Configuration.ProxyElement.AutoDetectValues AutoDetect { get; set; }
[<System.Configuration.ConfigurationProperty("autoDetect", DefaultValue=System.Net.Configuration.ProxyElement+AutoDetectValues.Unspecified)>]
member this.AutoDetect : System.Net.Configuration.ProxyElement.AutoDetectValues with get, set
Public Property AutoDetect As ProxyElement.AutoDetectValues

属性值

True如果自动检测到,WebProxy则为 ;如果未False自动检测到,则为 WebProxyUnspecified

属性

适用于

另请参阅