Constructs and initializes a new instance of the System.Net.WebProxy class with the specified host and port number.
- host
- Documentation for this section has not yet been entered.
- port
- Documentation for this section has not yet been entered.
Type Reason UriFormatException The URI formed by combining Host and Port is not in a valid URI format.
This constructor initializes the properties of the new instance as follows.
Property Value WebProxy.Address A new Uri constructed from "http://Host:Port". WebProxy.BypassArrayList A new empty ArrayList. WebProxy.BypassList A new empty string array. WebProxy.BypassProxyOnLocal false WebProxy.Credentials null
Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0