<clear> Element for <namedCaches>
Clears all namedCache
entries in the namedCaches
collection for a memory cache.
<configuration>
<system.runtime.caching>
<memoryCache>
<namedCaches>
<clear>
Syntax
<namedCaches>
<clear name="Default" />
<!-- child elements -->
</namedCaches>
Type
Type
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
None
Child Elements
None
Parent Elements
Element | Description |
---|---|
<namedCaches> | Contains a collection of configuration settings for the named MemoryCache instances. |
Remarks
The clear
element clears all namedCache
entries in the named cache collection for a memory cache. You can use the clear
element before you use the add
element to add a new named cache entry in order to be certain there are no other named caches in the collection.
See also
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.
الملاحظات
https://aka.ms/ContentUserFeedback.
قريبًا: خلال عام 2024، سنتخلص تدريجيًا من GitHub Issues بوصفها آلية إرسال ملاحظات للمحتوى ونستبدلها بنظام ملاحظات جديد. لمزيد من المعلومات، راجعإرسال الملاحظات وعرضها المتعلقة بـ