System.Web.Services.Protocols.HttpWebClientProtocol.Proxy Property

Gets or sets proxy information for making an XML Web service request through a firewall.

Syntax

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.ComponentModel.Browsable(false)]
public System.Net.IWebProxy Proxy { set; get; }

Value

a System.Net.IWebProxy

Remarks

Use the HttpWebClientProtocol.Proxy property if a client needs to use different proxy settings than those in the system settings. Use the System.Net.WebProxy class to set the proxy settings, because it implements System.Net.IWebProxy.

Default proxy settings can be set in a configuration file. For details, see [<topic://cpconconfiguringinternetapplications>].

Requirements

Namespace: System.Web.Services.Protocols
Assembly: System.Web.Services (in System.Web.Services.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0