This documentation is archived and is not being maintained.
<connectionManagement> Element (Network Settings)
Visual Studio 2008
Specifies the maximum number of connections to a network host.
<system.net> Element (Network Settings)
<connectionManagement> Element (Network Settings)
<connectionManagement> </connectionManagement>
The following sections describe attributes, child elements, and parent elements.
Attributes
None.
Child Elements
Element | Description |
|---|---|
Adds an IP address or DNS name to the connection management list. | |
Clears the connection management list. | |
Removes an IP address or DNS name from the connection management list. |
Parent Elements
Element | Description |
|---|---|
Contains settings that specify how the .NET Framework connects to the network. |
The following code 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 address = "http://www.contoso.com" maxconnection = "4" />
<add address = "*" maxconnection = "2" />
</connectionManagement>
</system.net>
</configuration>
Show: