Uwaga
Dostęp do tej strony wymaga autoryzacji. Może spróbować zalogować się lub zmienić katalogi.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Specifies the maximum number of connections to an Internet host.
<configuration>
<system.net>
<connectionManagement>
<connectionManagement>
</connectionManagement>
Child Elements
Element | Description |
---|---|
<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. |
Remarks
The <connectionManagement> element defines the maximum number of connections to a server or group of servers.
Example
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>
Configuration File
This element can be used in the application configuration file, the machine configuration file (Machine.config), and the publisher policy file.
See Also
ServicePoint | ServicePointManager | <add> Element for <connectionManagement> | Network Settings Schema