WebProxy Constructor (Uri, Boolean, String)
Assembly: System (in system.dll)
'Declaration Public Sub New ( _ Address As Uri, _ BypassOnLocal As Boolean, _ BypassList As String() _ ) 'Usage Dim Address As Uri Dim BypassOnLocal As Boolean Dim BypassList As String() Dim instance As New WebProxy(Address, BypassOnLocal, BypassList)
public function WebProxy ( Address : Uri, BypassOnLocal : boolean, BypassList : String )
A Uri instance that contains the address of the proxy server.
true to bypass the proxy for local addresses; otherwise, false.
An array of regular expression strings that contains the URIs of the servers to bypass.
The following code example demonstrates calling this constructor.
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.