WSHttpBindingBase.ProxyAddress Eigenschaft

Definition

Ruft die URI-Adresse des HTTP-Proxys ab oder legt sie fest.

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

Eigenschaftswert

Uri

Eine Uri, die als Adresse für den HTTP-Proxy dient. Der Standardwert ist null.

Attribute

Beispiele

In diesem Beispiel wird das Abrufen der maximalen Größe für eine Nachricht veranschaulicht.

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

Hinweise

Wenn UseDefaultWebProxy auf true festgelegt ist, wird der Wert von ProxyAddress ignoriert.

Gilt für: