WebProxy Constructor (String^, Int32)
.NET Framework (current version)
Initializes a new instance of the WebProxy class with the specified host and port number.
Assembly: System (in System.dll)
Parameters
- Host
-
Type:
System::String^
The name of the proxy host.
- Port
-
Type:
System::Int32
The port number on Host to use.
| Exception | Condition |
|---|---|
| UriFormatException | The URI formed by combining Host and Port is not a valid URI. |
.NET Framework
Available since 1.1
Available since 1.1
Show: