Share via


WebHttpBindingElement.ProxyAddress 屬性

定義

取得或設定 HTTP Proxy 的 URI 位址。

public:
 property Uri ^ ProxyAddress { Uri ^ get(); void set(Uri ^ value); };
[System.Configuration.ConfigurationProperty("proxyAddress", DefaultValue=null)]
public Uri ProxyAddress { get; set; }
[<System.Configuration.ConfigurationProperty("proxyAddress", DefaultValue=null)>]
member this.ProxyAddress : Uri with get, set
Public Property ProxyAddress As Uri

屬性值

Uri

當做 HTTP Proxy 之位址使用的 Uri。 預設值是 null

屬性

備註

UseDefaultWebProxy 設定為 true,則會忽略 ProxyAddress 的值。

適用於