Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Adds an IP address or DNS name to the proxy bypass list.
<configuration>
<system.net>
<defaultProxy>
<bypasslist>
<add>
<add
address = "regular expression"
/>
Required Attributes
| Attribute | Description |
|---|---|
| address | A regular expression describing an IP address or DNS name. |
Remarks
The <add> element inserts regular expressions describing IP addresses or DNS server names to the list of addresses that bypass a proxy server.
Example
The following example adds two addresses to the bypass list. The first bypasses the proxy for all servers in the contoso.com domain; the second bypasses the proxy for all servers whose IP address begins with 192.168.
<configuration>
<system.net>
<defaultProxy>
<bypasslist>
<add address="[a-z]+\.contoso\.com" />
<add address="192\.168\..*" />
</bypasslist>
</defaultProxy>
</system.net>
</configuration>
Configuration File
This element can be used in the application configuration file, the machine configuration file (Machine.config), and the publisher policy file.