向配置集合添加一个 OutputCacheProfile 对象。只能通过页的 @ OutputCache 指令引用缓存配置文件。用户控件或服务器控件上不支持配置文件。

configuration 元素(常规设置架构)
??system.web 元素(ASP.NET 设置架构)
????caching 元素(ASP.NET 设置架构)
??????caching 的 outputCacheSettings 元素(ASP.NET 设置架构)
????????caching 的 outputCacheSettings 的 outputCacheProfiles 元素(ASP.NET 设置架构)
??????????caching 的 outputCacheProfiles 的 add 元素(ASP.NET 设置架构)
<add name="String" 
     enabled="true|false" 
     duration="number" 
     location="Any|Client|Downstream|Server|None|ServerAndClient" 
     sqlDependency="String" 
     varyByCustom="String" 
     varyByControl="String" 
     varyByHeader="String" 
     varyByParam="String" 
     noStore="true|false" />

Expand 图像属性和元素

Expand 图像备注

Expand 图像示例

Expand 图像元素信息

Expand image请参见