WSHttpBindingBase.ProxyAddress Property

 

Gets or sets the URI address of the HTTP proxy.

Namespace:   System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

[TypeConverterAttribute(typeof(UriTypeConverter))]
public Uri ProxyAddress { get; set; }

Property Value

Type: System.Uri

A Uri that serves as the address of the HTTP proxy. The default value is null.

If the UseDefaultWebProxy is set to true, the value of ProxyAddress is ignored.

This example shows how to get the maximum size for a message.

Uri proxyAddress =
    binding1.ProxyAddress;

.NET Framework
Available since 3.0
Return to top
Show: