Adds a Proxy Server to a Http Binding.

See also http://stackoverflow.com/questions/951523/how-can-i-set-an-http-proxy-webproxy-on-a-wcf-client-side-service-proxy

Syntax

ISWebUtilities.AddProxyServerToBinding(binding, proxyServerHostName, [proxyServerPort], [proxyServerUserName], [proxyServerPassword])

Parameters

NameTypeOptionalByRefDescription
binding System.ServiceModel.BasicHttpBinding The Http Binding.
proxyServerHostName String The Proxy Server Host Name.
proxyServerPort Integer Optional The Proxy Server Port to use. -1 indicates the Default Port for the protocol. If omitted, a value of -1 is assumed.
proxyServerUserName String Optional User Name used to login to the Proxy Server. Optional.
proxyServerPassword String Optional The Password required for the User. Optional.

Return Value

Boolean

A Boolean value indicating success.

Member of:
ISWebUtilities
Namespace:
Intersoft.ISRuntime6
Assembly:
ISRuntime6, Version=6.0.3
Target Framework:
.NET 9.0