Events
Mar 17, 9 PM - Mar 21, 10 AM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Removes an IP address or DNS name from the connection management list.
<configuration>
<system.net>
<connectionManagement>
<remove>
<remove
address="server name or IP address"
/>
The following sections describe attributes, child elements, and parent elements.
Attribute | Description |
---|---|
address |
An IP address or DNS name. |
None.
Element | Description |
---|---|
connectionManagement | Specifies the maximum number of connections to a network host. |
The remove
element removes the connection management list entry for the specified server.
The value of the address
attribute should be a valid IP address or host name.
This element can be used in the application configuration file or the machine configuration file (Machine.config).
The following example removes any connection management list entries for the server www.adventure-works.com
and then configures an application to use four connections to the server www.contoso.com
and two connections to all other servers.
<configuration>
<system.net>
<connectionManagement>
<remove address="http://www.adventure-works.com" />
<add address="http://www.contoso.com" maxconnection="4" />
<add address="*" maxconnection="2" />
</connectionManagement>
</system.net>
</configuration>
.NET feedback
.NET is an open source project. Select a link to provide feedback:
Events
Mar 17, 9 PM - Mar 21, 10 AM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register now