Export (0) Print
Expand All

WebProxy Constructor

.NET Framework 1.1

Initializes a new instance of the WebProxy class.

Overload List

Initializes an empty instance of the WebProxy class.

Supported by the .NET Compact Framework.

[Visual Basic] Public Sub New()
[C#] public WebProxy();
[C++] public: WebProxy();
[JScript] public function WebProxy();

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

Supported by the .NET Compact Framework.

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

Initializes a new instance of the WebProxy class from the specified Uri.

Supported by the .NET Compact Framework.

[Visual Basic] Public Sub New(Uri)
[C#] public WebProxy(Uri);
[C++] public: WebProxy(Uri*);
[JScript] public function WebProxy(Uri);

This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

[Visual Basic] Protected Sub New(SerializationInfo, StreamingContext)
[C#] protected WebProxy(SerializationInfo, StreamingContext);
[C++] protected: WebProxy(SerializationInfo*, StreamingContext);
[JScript] protected function WebProxy(SerializationInfo, StreamingContext);

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

Supported by the .NET Compact Framework.

[Visual Basic] Public Sub New(String, Boolean)
[C#] public WebProxy(string, bool);
[C++] public: WebProxy(String*, bool);
[JScript] public function WebProxy(String, Boolean);

Initializes a new instance of the WebProxy class with the specified host and port number.

Supported by the .NET Compact Framework.

[Visual Basic] Public Sub New(String, Integer)
[C#] public WebProxy(string, int);
[C++] public: WebProxy(String*, int);
[JScript] public function WebProxy(String, int);

Initializes a new instance of the WebProxy class with the Uri and bypass setting.

Supported by the .NET Compact Framework.

[Visual Basic] Public Sub New(Uri, Boolean)
[C#] public WebProxy(Uri, bool);
[C++] public: WebProxy(Uri*, bool);
[JScript] public function WebProxy(Uri, Boolean);

Initializes a new instance of the WebProxy class with the specified URI, bypass setting, and list of URIs to bypass.

[Visual Basic] Public Sub New(String, Boolean, String())
[C#] public WebProxy(string, bool, string[]);
[C++] public: WebProxy(String*, bool, String*[]);
[JScript] public function WebProxy(String, Boolean, String[]);

Initializes a new instance of the WebProxy class with the specified Uri, bypass setting, and list of URIs to bypass.

[Visual Basic] Public Sub New(Uri, Boolean, String())
[C#] public WebProxy(Uri, bool, string[]);
[C++] public: WebProxy(Uri*, bool, String[]);
[JScript] public function WebProxy(Uri, Boolean, String[]);

Initializes a new instance of the WebProxy class with the specified URI, bypass setting, list of URIs to bypass, and credentials.

[Visual Basic] Public Sub New(String, Boolean, String(), ICredentials)
[C#] public WebProxy(string, bool, string[], ICredentials);
[C++] public: WebProxy(String*, bool, String*[], ICredentials*);
[JScript] public function WebProxy(String, Boolean, String[], ICredentials);

Initializes a new instance of the WebProxy class with the specified Uri, bypass setting, list of URIs to bypass, and credentials.

[Visual Basic] Public Sub New(Uri, Boolean, String(), ICredentials)
[C#] public WebProxy(Uri, bool, string[], ICredentials);
[C++] public: WebProxy(Uri*, bool, String[], ICredentials*);
[JScript] public function WebProxy(Uri, Boolean, String[], ICredentials);

See Also

WebProxy Class | WebProxy Members | System.Net Namespace

Show:
© 2014 Microsoft