WebHttpBindingElement.UseDefaultWebProxy 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定一個值,指示系統自動設定的 HTTP 代理是否應使用(若有的話)。
public:
property bool UseDefaultWebProxy { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("useDefaultWebProxy", DefaultValue=true)]
public bool UseDefaultWebProxy { get; set; }
[<System.Configuration.ConfigurationProperty("useDefaultWebProxy", DefaultValue=true)>]
member this.UseDefaultWebProxy : bool with get, set
Public Property UseDefaultWebProxy As Boolean
屬性值
true如果系統的自動設定 HTTP 代理(若有的話)應使用;否則,。 false 預設值為 true。
- 屬性
備註
這在 為 trueProxyAddress 且為非null 是錯誤的。