Export (0) Print
Expand All

WebProxy Constructor (String)

.NET Framework 1.1

Initializes a new instance of the WebProxy class with the specified URI.

[Visual Basic]
Public Sub New( _
   ByVal Address As String _
)
[C#]
public WebProxy(
   string Address
);
[C++]
public: WebProxy(
   String* Address
);
[JScript]
public function WebProxy(
   Address : String
);

Parameters

Address
The URI of the proxy server.

Exceptions

Exception Type Condition
UriFormatException Address is an invalid URI.

Remarks

The WebProxy instance is initialized with the Address property set to a Uri instance containing Address.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

WebProxy Class | WebProxy Members | System.Net Namespace | WebProxy Constructor Overload List

Show:
© 2014 Microsoft