Specifies the maximum number of connections to an Internet host.
|<add>||Adds an IP address or DNS name to the connection management list.|
|<clear>||Clears the connection management list.|
|<remove>||Removes a connection management entry from the list.|
The <connectionManagement> element defines the maximum number of connections to a server or group of servers.
The following example configures an application to use four connections to the server www.contoso.com and two connections to all other servers.
<configuration> <system.net> <connectionManagement> <add name = "www.contoso.com" maxconnection = "4" /> <add name = "*" maxconnection = "2" /> </connectionManagement> </system.net> </configuration>
This element can be used in the application configuration file, the machine configuration file (Machine.config), and the publisher policy file.