WSDualHttpBinding.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; }
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
.
Examples
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
Remarks
If the UseDefaultWebProxy is set to true
, the value of the ProxyAddress is ignored.
Applies to
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.