<删除 namedCaches > 的<> 元素<remove> Element for <namedCaches>

从内存缓存的 namedCaches 集合中删除一个命名的缓存条目。Removes a named cache entry from the namedCaches collection for a memory cache.

<configuration> <configuration>
   <> 缓存  <system.runtime.caching>
     <memoryCache >     <memoryCache>
       <namedCaches >       <namedCaches>
         <删除 >        <remove>

语法Syntax

<namedCaches>  
    <remove name="default" />  
    <!-- child elements -->  
 </namedCaches>  

类型Type

None

特性和元素Attributes and Elements

下列各节描述了特性、子元素和父元素。The following sections describe attributes, child elements, and parent elements.

特性Attributes

None

子元素Child Elements

None

父元素Parent Elements

元素Element 描述Description
<namedCaches><namedCaches> 包含命名MemoryCache实例的配置设置的集合。Contains a collection of configuration settings for the named MemoryCache instances.

备注Remarks

元素从内存缓存namedCache的命名缓存集合中删除一个条目。 removeThe remove element removes a namedCache entry from the named cache collection for a memory cache.

请参阅See also