Share via


IsBypassed Method

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

Indicates that the proxy should not be used for the specified host.

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

Syntax

'Declaration
Function IsBypassed ( _
    host As Uri _
) As Boolean
bool IsBypassed(
    Uri host
)
bool IsBypassed(
    Uri^ host
)
abstract IsBypassed : 
        host:Uri -> bool 
function IsBypassed(
    host : Uri
) : boolean

Parameters

Return Value

Type: System. . :: . .Boolean
true if the proxy server should not be used for host; otherwise, false.

Remarks

The IsBypassed method indicates whether to use the proxy server to access the host that is specified in the host parameter. If IsBypassed is true, the proxy is not used to contact the host and the request is passed directly to the server.

.NET Framework Security

See Also

Reference

IWebProxy Interface

System.Net Namespace