Constructs and initializes a new instance of the System.Net.WebProxy class with the specified URI, bypass setting, list of URIs to bypass, and credentials.
- address
- Documentation for this section has not yet been entered.
- bypassOnLocal
- Documentation for this section has not yet been entered.
- bypassList
- Documentation for this section has not yet been entered.
- credentials
- Documentation for this section has not yet been entered.
Type Reason UriFormatException Address 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 Address or, if Address does not contain "://", constructed from "http://Address". If Address is null, this property is set to null. WebProxy.BypassArrayList A new ArrayList constructed from BypassList or, if BypassList is null, a new empty ArrayList. WebProxy.BypassList BypassList or, if BypassList is null, a new empty string array. WebProxy.BypassProxyOnLocal BypassOnLocal WebProxy.Credentials Credentials
Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0