<clear> Element for connectionManagement (Network Settings)
Clears the connection management list.
<configuration>
<system.net>
<connectionManagement>
<clear>
Syntax
<clear/>
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
None.
Child Elements
None.
Parent Elements
Element | Description |
---|---|
connectionManagement | Specifies the maximum number of connections to a network host. |
Remarks
The clear
element clears all entries from the connection management list.
Configuration Files
This element can be used in the application configuration file or the machine configuration file (Machine.config).
Example
The following example clears the connection management list and then adds new connection management entries for the server www.contoso.com
and all other network hosts.
<configuration>
<system.net>
<connectionManagement>
<clear/>
<add address = "http://www.contoso.com" maxconnection = "4" />
<add address = "*" maxconnection = "2" />
</connectionManagement>
</system.net>
</configuration>
See also
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.
الملاحظات
https://aka.ms/ContentUserFeedback.
قريبًا: خلال عام 2024، سنتخلص تدريجيًا من GitHub Issues بوصفها آلية إرسال ملاحظات للمحتوى ونستبدلها بنظام ملاحظات جديد. لمزيد من المعلومات، راجعإرسال الملاحظات وعرضها المتعلقة بـ