WSHttpBindingBase.ProxyAddress 屬性

定義

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

public:
 property Uri ^ ProxyAddress { Uri ^ get(); void set(Uri ^ value); };
public Uri ProxyAddress { get; set; }
[System.ComponentModel.TypeConverter(typeof(System.UriTypeConverter))]
public Uri ProxyAddress { get; set; }
member this.ProxyAddress : Uri with get, set
[<System.ComponentModel.TypeConverter(typeof(System.UriTypeConverter))>]
member this.ProxyAddress : Uri with get, set
Public Property ProxyAddress As Uri

屬性值

Uri

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

屬性

範例

這個範例會示範如何取得訊息的大小上限。

Uri proxyAddress =
    binding1.ProxyAddress;
Dim proxyAddress As Uri = binding1.ProxyAddress

備註

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

適用於