Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

95 lines
6.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Type Name="OutputCacheSettingsSection" FullName="System.Web.Configuration.OutputCacheSettingsSection">
<TypeSignature Language="C#" Value="public sealed class OutputCacheSettingsSection : System.Configuration.ConfigurationSection" />
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Configuration.ConfigurationSection</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="T:System.Web.Configuration.OutputCacheSettingsSection" /> class allows you to programmatically access and modify the outputCacheSettings element of the caching section in a configuration file. The output cache settings define the dependencies (the relationships between items stored in the cache and files, cache keys, or <see cref="T:System.Web.Caching.CacheDependency" /> objects) that are used in output caching, for instance, by the <format type="text/html"><a href="28a9e101-fb44-4198-9cb6-b8a52312fec2">@ OutputCache</a></format> directive or by the <see cref="T:System.Web.Configuration.OutputCacheProfile" />.</para>
<block subset="none" type="note">
<para>The <see cref="T:System.Web.Configuration.OutputCacheSettingsSection" /> can write information into the related section of the configuration file according to the restrictions defined by the section property <see cref="P:System.Configuration.SectionInformation.AllowDefinition" /> whose value is <see cref="F:System.Configuration.ConfigurationAllowDefinition.MachineToApplication" />. Any attempt to write in a configuration file at a level not allowed in the hierarchy will result in an error message generated by the parser. However, you can use this class to read configuration information at any level in the hierarchy. </para>
</block>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Configures the output cache settings for application pages . This class cannot be inherited.</para>
</summary>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public OutputCacheSettingsSection ();" />
<MemberType>Constructor</MemberType>
<Parameters />
<Docs>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="M:System.Web.Configuration.OutputCacheSettingsSection.#ctor" /> constructor is not intended to be used directly from your code. It is called by the ASP.NET configuration system. You obtain an instance of the <see cref="T:System.Web.Configuration.OutputCacheSettingsSection" /> class by using the <see cref="M:System.Configuration.Configuration.GetSection(System.String)" /> method.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.Web.Configuration.OutputCacheSettingsSection" /> class.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="OutputCacheProfiles">
<MemberSignature Language="C#" Value="public System.Web.Configuration.OutputCacheProfileCollection OutputCacheProfiles { get; }" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Configuration.ConfigurationProperty("outputCacheProfiles")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Web.Configuration.OutputCacheProfileCollection</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="P:System.Web.Configuration.OutputCacheSettingsSection.OutputCacheProfiles" /> property allows you to programmatically access the outputCacheProfiles element in a configuration file. You can use the <see cref="P:System.Web.Configuration.OutputCacheSettingsSection.OutputCacheProfiles" /> property to modify the outputCacheProfiles element programmatically. </para>
<para>The outputCacheProfiles section contains <see cref="T:System.Web.Configuration.OutputCacheProfile" /> objects that represent output cache settings that may be used by pages in the application. These settings can be applied to a page by setting the CacheProfile attribute of the <format type="text/html"><a href="28a9e101-fb44-4198-9cb6-b8a52312fec2">@ OutputCache</a></format> directive. Apply the profile to control caching attributes such as dependencies, cache location, and cache expiration time.</para>
<para>The <format type="text/html"><a href="28a9e101-fb44-4198-9cb6-b8a52312fec2">@ OutputCache</a></format> directive can override all the settings contained by an <see cref="T:System.Web.Configuration.OutputCacheProfile" /> except the <see cref="P:System.Web.Configuration.OutputCacheProfile.Enabled" /> property. This is to ensure you can enable or disable the <see cref="T:System.Web.Configuration.OutputCacheProfile" /> without having to modify the directives in all the pages that might have overridden it.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets a <see cref="T:System.Web.Configuration.OutputCacheProfileCollection" />.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Properties">
<MemberSignature Language="C#" Value="protected override System.Configuration.ConfigurationPropertyCollection Properties { get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Configuration.ConfigurationPropertyCollection</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<remarks>To be added.</remarks>
<since version=".NET 2.0" />
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the collection of <see cref="T:System.Web.Configuration.OutputCacheSettingsSection" /> properties.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
</Members>
</Type>