Mono Class Library: System.Net.WebProxy Overview | Members

System.Net.WebProxy Constructor

Constructs and initializes a new instance of the System.Net.WebProxy class with the specified URI and bypass setting.

public WebProxy (string address, bool bypassOnLocal)

Parameters

address
Documentation for this section has not yet been entered.
bypassOnLocal
Documentation for this section has not yet been entered.

Exceptions

TypeReason
UriFormatExceptionAddress is not in a valid URI format.

Remarks

This constructor initializes the properties of the new instance as follows.

PropertyValue
WebProxy.AddressA 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 empty ArrayList.
WebProxy.BypassList A new empty string array.
WebProxy.BypassProxyOnLocalBypassOnLocal
WebProxy.Credentialsnull

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0