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
- host
Type: System. . :: . .Uri
The Uri of the host to check for proxy use.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.