WSDualHttpBinding.ProxyAddress WSDualHttpBinding.ProxyAddress WSDualHttpBinding.ProxyAddress WSDualHttpBinding.ProxyAddress Property

Definición

Obtiene o establece la dirección URI del proxy HTTP.Gets or sets the URI address of the HTTP proxy.

public:
 property Uri ^ ProxyAddress { Uri ^ get(); void set(Uri ^ value); };
public Uri ProxyAddress { get; set; }
member this.ProxyAddress : Uri with get, set
Public Property ProxyAddress As Uri

Valor de propiedad

Uri que se usa como dirección del proxy HTTP.A Uri that serves as the address of the HTTP proxy. El valor predeterminado es null.The default value is null.

Ejemplos

En el ejemplo siguiente se muestra cómo especificar la dirección del proxy HTTP.The following example shows how to specify the address of the HTTP proxy.

string proxyAddressString = "http://localhost:5049";
Uri proxyBaseAddressUri = new Uri(proxyAddressString);
binding.ProxyAddress = proxyBaseAddressUri;
Dim proxyAddressString As String = "http://localhost:5049"
Dim proxyBaseAddressUri As New Uri(proxyAddressString)
binding.ProxyAddress = proxyBaseAddressUri

Comentarios

Si UseDefaultWebProxy se establece en true, se omite el valor de ProxyAddress.If the UseDefaultWebProxy is set to true, the value of the ProxyAddress is ignored.

Se aplica a