SoapHttpChannelOptions.Proxy Property
Gets or sets proxy information for making an XML Web service request through a firewall.
Namespace: Microsoft.Web.Services2.Messaging
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)
Usage
'Usage
Dim soapHttpChannelOptions1 As SoapHttpChannelOptions
Dim returnValue As IWebProxy
returnValue = soapHttpChannelOptions1.Proxy
Dim sampleValue As IWebProxy
soapHttpChannelOptions1.Proxy = sampleValue
Syntax
'Declaration
Public Property Proxy() As IWebProxy
public IWebProxy Proxy {get; set;}
public: property IWebProxy^ Proxy{
IWebProxy^ get();
Void set(IWebProxy^);
}
public IWebProxy get_Proxy();
public void set_Proxy(IWebProxy);
public function get Proxy() : IWebProxy;
public function set Proxy(IWebProxy);
Property Value
An System.Net.IWebProxy containing the proxy information for making requests through a firewall. The default value is null.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000
Target Platforms
Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server, Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, Pocket PC, Windows CE, Smart Phone
See Also
Reference
SoapHttpChannelOptions Class
Microsoft.Web.Services2.Messaging Namespace