WebProxy Constructor (Uri, Boolean)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

Namespace:  System.Net
Assembly:  System.Http (in System.Http.dll)

new : 
        Address:Uri * 
        BypassOnLocal:bool -> WebProxy


Type: System..::..Uri
A Uri instance that contains the address of the proxy server.
Type: System..::..Boolean
true to bypass the proxy for local addresses; otherwise, false.

The WebProxy instance is initialized with the Address property set to Address and with the BypassProxyOnLocal property set to BypassOnLocal.