WSHttpBindingBase.ProxyAddress Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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; }
[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
Property Value
A Uri that serves as the address of the HTTP proxy. The default value is null
.
- Attributes
Examples
This example shows how to get the maximum size for a message.
Uri proxyAddress =
binding1.ProxyAddress;
Dim proxyAddress As Uri = binding1.ProxyAddress
Remarks
If the UseDefaultWebProxy is set to true
, the value of ProxyAddress is ignored.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.