Share via


WSHttpBindingBase.ProxyAddress Vlastnost

Definice

Získá nebo nastaví adresu URI proxy serveru HTTP.

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

Hodnota vlastnosti

Uri

A Uri , který slouží jako adresa proxy serveru HTTP. Výchozí hodnota je null.

Atributy

Příklady

Tento příklad ukazuje, jak získat maximální velikost zprávy.

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

Poznámky

UseDefaultWebProxy Pokud je hodnota nastavená na true, hodnota je ProxyAddress ignorována.

Platí pro