Muokkaa

Jaa


HttpTransportElement.BypassProxyOnLocal Property

Definition

Gets or sets a value that indicates whether proxies are ignored for local addresses.

public:
 property bool BypassProxyOnLocal { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("bypassProxyOnLocal", DefaultValue=false)]
public bool BypassProxyOnLocal { get; set; }
[<System.Configuration.ConfigurationProperty("bypassProxyOnLocal", DefaultValue=false)>]
member this.BypassProxyOnLocal : bool with get, set
Public Property BypassProxyOnLocal As Boolean

Property Value

true if proxies are ignored for local addresses; otherwise, false. The default is false.

Attributes

Remarks

A local address is one that is on the local LAN or intranet. Always ignores the proxy if the service address begins with http://localhost. You should use the host name rather than localhost if you want clients to go through a proxy when communicating with services on the same machine.

Applies to