Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
726 lines (723 sloc) 46.2 KB
<Type Name="HttpCachePolicyBase" FullName="System.Web.HttpCachePolicyBase">
<TypeSignature Language="C#" Value="public abstract class HttpCachePolicyBase" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract beforefieldinit HttpCachePolicyBase extends System.Object" />
<TypeSignature Language="DocId" Value="T:System.Web.HttpCachePolicyBase" />
<TypeSignature Language="VB.NET" Value="Public MustInherit Class HttpCachePolicyBase" />
<TypeSignature Language="C++ CLI" Value="public ref class HttpCachePolicyBase abstract" />
<TypeSignature Language="F#" Value="type HttpCachePolicyBase = class" />
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Web.Abstractions</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8">
<AttributeName>System.Runtime.CompilerServices.TypeForwardedFrom("System.Web.Abstractions, Version=3.5.0.0, Culture=Neutral, PublicKeyToken=31bf3856ad364e35")</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Serves as the base class for classes that contain methods for setting cache-specific HTTP headers and for controlling the ASP.NET page output cache.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Web.HttpCachePolicyBase> class is an abstract class that contains the same members as the <xref:System.Web.HttpCachePolicy> class. The <xref:System.Web.HttpCachePolicyBase> class lets you create derived classes that are like the <xref:System.Web.HttpCachePolicy> class, but that you can customize and that work outside the ASP.NET pipeline. When you perform unit testing, you typically use a derived class to implement members with customized behavior that fulfills the scenario you are testing.
The <xref:System.Web.HttpCachePolicyWrapper> class derives from the <xref:System.Web.HttpCachePolicyBase> class. The <xref:System.Web.HttpCachePolicyWrapper> class serves as a wrapper for the <xref:System.Web.HttpCachePolicy> class. At run time, you typically use an instance of the <xref:System.Web.HttpCachePolicyWrapper> class to call members of the <xref:System.Web.HttpCachePolicy> object.
]]></format>
</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected HttpCachePolicyBase ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.HttpCachePolicyBase.#ctor" />
<MemberSignature Language="VB.NET" Value="Protected Sub New ()" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; HttpCachePolicyBase();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Web.Abstractions</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName>System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")</AttributeName>
</Attribute>
</Attributes>
<Parameters />
<Docs>
<summary>Initializes the class for use by an inherited class instance. This constructor can only be called by an inherited class.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="AddValidationCallback">
<MemberSignature Language="C#" Value="public virtual void AddValidationCallback (System.Web.HttpCacheValidateHandler handler, object data);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void AddValidationCallback(class System.Web.HttpCacheValidateHandler handler, object data) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.HttpCachePolicyBase.AddValidationCallback(System.Web.HttpCacheValidateHandler,System.Object)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Sub AddValidationCallback (handler As HttpCacheValidateHandler, data As Object)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual void AddValidationCallback(System::Web::HttpCacheValidateHandler ^ handler, System::Object ^ data);" />
<MemberSignature Language="F#" Value="abstract member AddValidationCallback : System.Web.HttpCacheValidateHandler * obj -&gt; unit&#xA;override this.AddValidationCallback : System.Web.HttpCacheValidateHandler * obj -&gt; unit" Usage="httpCachePolicyBase.AddValidationCallback (handler, data)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Web.Abstractions</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="handler" Type="System.Web.HttpCacheValidateHandler" Index="0" FrameworkAlternate="netframework-4.8" />
<Parameter Name="data" Type="System.Object" Index="1" FrameworkAlternate="netframework-4.8" />
</Parameters>
<Docs>
<param name="handler">The object that will handle the request.</param>
<param name="data">The user-supplied data that is passed to the <see cref="M:System.Web.HttpCachePolicyWrapper.AddValidationCallback(System.Web.HttpCacheValidateHandler,System.Object)" /> delegate.</param>
<summary>When overridden in a derived class, registers a validation callback for the current response.</summary>
<remarks>To be added.</remarks>
<exception cref="T:System.NotImplementedException">Always.</exception>
</Docs>
</Member>
<Member MemberName="AppendCacheExtension">
<MemberSignature Language="C#" Value="public virtual void AppendCacheExtension (string extension);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void AppendCacheExtension(string extension) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.HttpCachePolicyBase.AppendCacheExtension(System.String)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Sub AppendCacheExtension (extension As String)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual void AppendCacheExtension(System::String ^ extension);" />
<MemberSignature Language="F#" Value="abstract member AppendCacheExtension : string -&gt; unit&#xA;override this.AppendCacheExtension : string -&gt; unit" Usage="httpCachePolicyBase.AppendCacheExtension extension" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Web.Abstractions</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="extension" Type="System.String" Index="0" FrameworkAlternate="netframework-4.8" />
</Parameters>
<Docs>
<param name="extension">The text to append to the <see langword="Cache-Control" /> header.</param>
<summary>When overridden in a derived class, appends the specified text to the <see langword="Cache-Control" /> HTTP header.</summary>
<remarks>To be added.</remarks>
<exception cref="T:System.NotImplementedException">Always.</exception>
</Docs>
</Member>
<Member MemberName="SetAllowResponseInBrowserHistory">
<MemberSignature Language="C#" Value="public virtual void SetAllowResponseInBrowserHistory (bool allow);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SetAllowResponseInBrowserHistory(bool allow) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.HttpCachePolicyBase.SetAllowResponseInBrowserHistory(System.Boolean)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Sub SetAllowResponseInBrowserHistory (allow As Boolean)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual void SetAllowResponseInBrowserHistory(bool allow);" />
<MemberSignature Language="F#" Value="abstract member SetAllowResponseInBrowserHistory : bool -&gt; unit&#xA;override this.SetAllowResponseInBrowserHistory : bool -&gt; unit" Usage="httpCachePolicyBase.SetAllowResponseInBrowserHistory allow" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Web.Abstractions</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="allow" Type="System.Boolean" Index="0" FrameworkAlternate="netframework-4.8" />
</Parameters>
<Docs>
<param name="allow">
<see langword="true" /> to direct the client browser to store responses in the browser history cache; otherwise <see langword="false" />.</param>
<summary>When overridden in a derived class, makes the response available in the browser history cache, regardless of the <see cref="T:System.Web.HttpCacheability" /> setting made on the server.</summary>
<remarks>To be added.</remarks>
<exception cref="T:System.NotImplementedException">Always.</exception>
</Docs>
</Member>
<MemberGroup MemberName="SetCacheability">
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>When overridden in a derived class, sets the <see langword="Cache-Control" /> header to one of the <see cref="T:System.Web.HttpCacheability" /> values.</summary>
</Docs>
</MemberGroup>
<Member MemberName="SetCacheability">
<MemberSignature Language="C#" Value="public virtual void SetCacheability (System.Web.HttpCacheability cacheability);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SetCacheability(valuetype System.Web.HttpCacheability cacheability) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.HttpCachePolicyBase.SetCacheability(System.Web.HttpCacheability)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Sub SetCacheability (cacheability As HttpCacheability)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual void SetCacheability(System::Web::HttpCacheability cacheability);" />
<MemberSignature Language="F#" Value="abstract member SetCacheability : System.Web.HttpCacheability -&gt; unit&#xA;override this.SetCacheability : System.Web.HttpCacheability -&gt; unit" Usage="httpCachePolicyBase.SetCacheability cacheability" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Web.Abstractions</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="cacheability" Type="System.Web.HttpCacheability" Index="0" FrameworkAlternate="netframework-4.8" />
</Parameters>
<Docs>
<param name="cacheability">The <see cref="T:System.Web.HttpCacheability" /> enumeration value to set the header to.</param>
<summary>When overridden in a derived class, sets the <see langword="Cache-Control" /> header to the specified <see cref="T:System.Web.HttpCacheability" /> value.</summary>
<remarks>To be added.</remarks>
<exception cref="T:System.NotImplementedException">Always.</exception>
</Docs>
</Member>
<Member MemberName="SetCacheability">
<MemberSignature Language="C#" Value="public virtual void SetCacheability (System.Web.HttpCacheability cacheability, string field);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SetCacheability(valuetype System.Web.HttpCacheability cacheability, string field) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.HttpCachePolicyBase.SetCacheability(System.Web.HttpCacheability,System.String)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Sub SetCacheability (cacheability As HttpCacheability, field As String)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual void SetCacheability(System::Web::HttpCacheability cacheability, System::String ^ field);" />
<MemberSignature Language="F#" Value="abstract member SetCacheability : System.Web.HttpCacheability * string -&gt; unit&#xA;override this.SetCacheability : System.Web.HttpCacheability * string -&gt; unit" Usage="httpCachePolicyBase.SetCacheability (cacheability, field)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Web.Abstractions</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="cacheability" Type="System.Web.HttpCacheability" Index="0" FrameworkAlternate="netframework-4.8" />
<Parameter Name="field" Type="System.String" Index="1" FrameworkAlternate="netframework-4.8" />
</Parameters>
<Docs>
<param name="cacheability">The <see cref="T:System.Web.HttpCacheability" /> enumeration value to set the header to.</param>
<param name="field">The cache-control extension to add to the header.</param>
<summary>When overridden in a derived class, sets the <see langword="Cache-Control" /> header to the specified <see cref="T:System.Web.HttpCacheability" /> value and appends an extension to the directive.</summary>
<remarks>To be added.</remarks>
<exception cref="T:System.NotImplementedException">Always.</exception>
</Docs>
</Member>
<Member MemberName="SetETag">
<MemberSignature Language="C#" Value="public virtual void SetETag (string etag);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SetETag(string etag) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.HttpCachePolicyBase.SetETag(System.String)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Sub SetETag (etag As String)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual void SetETag(System::String ^ etag);" />
<MemberSignature Language="F#" Value="abstract member SetETag : string -&gt; unit&#xA;override this.SetETag : string -&gt; unit" Usage="httpCachePolicyBase.SetETag etag" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Web.Abstractions</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="etag" Type="System.String" Index="0" FrameworkAlternate="netframework-4.8" />
</Parameters>
<Docs>
<param name="etag">The text to use for the <see langword="ETag" /> header.</param>
<summary>When overridden in a derived class, sets the <see langword="ETag" /> HTTP header to the specified string.</summary>
<remarks>To be added.</remarks>
<exception cref="T:System.NotImplementedException">Always.</exception>
</Docs>
</Member>
<Member MemberName="SetETagFromFileDependencies">
<MemberSignature Language="C#" Value="public virtual void SetETagFromFileDependencies ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SetETagFromFileDependencies() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.HttpCachePolicyBase.SetETagFromFileDependencies" />
<MemberSignature Language="VB.NET" Value="Public Overridable Sub SetETagFromFileDependencies ()" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual void SetETagFromFileDependencies();" />
<MemberSignature Language="F#" Value="abstract member SetETagFromFileDependencies : unit -&gt; unit&#xA;override this.SetETagFromFileDependencies : unit -&gt; unit" Usage="httpCachePolicyBase.SetETagFromFileDependencies " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Web.Abstractions</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>When overridden in a derived class, sets the <see langword="ETag" /> HTTP header based on the time stamps of the handler's file dependencies.</summary>
<remarks>To be added.</remarks>
<exception cref="T:System.NotImplementedException">Always.</exception>
</Docs>
</Member>
<Member MemberName="SetExpires">
<MemberSignature Language="C#" Value="public virtual void SetExpires (DateTime date);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SetExpires(valuetype System.DateTime date) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.HttpCachePolicyBase.SetExpires(System.DateTime)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Sub SetExpires (date As DateTime)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual void SetExpires(DateTime date);" />
<MemberSignature Language="F#" Value="abstract member SetExpires : DateTime -&gt; unit&#xA;override this.SetExpires : DateTime -&gt; unit" Usage="httpCachePolicyBase.SetExpires date" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Web.Abstractions</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="date" Type="System.DateTime" Index="0" FrameworkAlternate="netframework-4.8" />
</Parameters>
<Docs>
<param name="date">The absolute expiration time.</param>
<summary>When overridden in a derived class, sets the <see langword="Expires" /> HTTP header to an absolute date and time.</summary>
<remarks>To be added.</remarks>
<exception cref="T:System.NotImplementedException">Always.</exception>
</Docs>
</Member>
<Member MemberName="SetLastModified">
<MemberSignature Language="C#" Value="public virtual void SetLastModified (DateTime date);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SetLastModified(valuetype System.DateTime date) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.HttpCachePolicyBase.SetLastModified(System.DateTime)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Sub SetLastModified (date As DateTime)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual void SetLastModified(DateTime date);" />
<MemberSignature Language="F#" Value="abstract member SetLastModified : DateTime -&gt; unit&#xA;override this.SetLastModified : DateTime -&gt; unit" Usage="httpCachePolicyBase.SetLastModified date" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Web.Abstractions</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="date" Type="System.DateTime" Index="0" FrameworkAlternate="netframework-4.8" />
</Parameters>
<Docs>
<param name="date">The date-time value to set the <see langword="Last-Modified" /> header to.</param>
<summary>When overridden in a derived class, sets the <see langword="Last-Modified" /> HTTP header to the specified date and time.</summary>
<remarks>To be added.</remarks>
<exception cref="T:System.NotImplementedException">Always.</exception>
</Docs>
</Member>
<Member MemberName="SetLastModifiedFromFileDependencies">
<MemberSignature Language="C#" Value="public virtual void SetLastModifiedFromFileDependencies ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SetLastModifiedFromFileDependencies() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.HttpCachePolicyBase.SetLastModifiedFromFileDependencies" />
<MemberSignature Language="VB.NET" Value="Public Overridable Sub SetLastModifiedFromFileDependencies ()" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual void SetLastModifiedFromFileDependencies();" />
<MemberSignature Language="F#" Value="abstract member SetLastModifiedFromFileDependencies : unit -&gt; unit&#xA;override this.SetLastModifiedFromFileDependencies : unit -&gt; unit" Usage="httpCachePolicyBase.SetLastModifiedFromFileDependencies " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Web.Abstractions</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>When overridden in a derived class, sets the <see langword="Last-Modified" /> HTTP header based on the time stamps of the handler's file dependencies.</summary>
<remarks>To be added.</remarks>
<exception cref="T:System.NotImplementedException">Always.</exception>
</Docs>
</Member>
<Member MemberName="SetMaxAge">
<MemberSignature Language="C#" Value="public virtual void SetMaxAge (TimeSpan delta);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SetMaxAge(valuetype System.TimeSpan delta) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.HttpCachePolicyBase.SetMaxAge(System.TimeSpan)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Sub SetMaxAge (delta As TimeSpan)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual void SetMaxAge(TimeSpan delta);" />
<MemberSignature Language="F#" Value="abstract member SetMaxAge : TimeSpan -&gt; unit&#xA;override this.SetMaxAge : TimeSpan -&gt; unit" Usage="httpCachePolicyBase.SetMaxAge delta" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Web.Abstractions</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="delta" Type="System.TimeSpan" Index="0" FrameworkAlternate="netframework-4.8" />
</Parameters>
<Docs>
<param name="delta">The time span to set the <see langword="Cache-Control: max-age" /> header to.</param>
<summary>When overridden in a derived class, sets the <see langword="Cache-Control: max-age" /> HTTP header to the specified time span.</summary>
<remarks>To be added.</remarks>
<exception cref="T:System.NotImplementedException">Always.</exception>
</Docs>
</Member>
<Member MemberName="SetNoServerCaching">
<MemberSignature Language="C#" Value="public virtual void SetNoServerCaching ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SetNoServerCaching() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.HttpCachePolicyBase.SetNoServerCaching" />
<MemberSignature Language="VB.NET" Value="Public Overridable Sub SetNoServerCaching ()" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual void SetNoServerCaching();" />
<MemberSignature Language="F#" Value="abstract member SetNoServerCaching : unit -&gt; unit&#xA;override this.SetNoServerCaching : unit -&gt; unit" Usage="httpCachePolicyBase.SetNoServerCaching " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Web.Abstractions</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>When overridden in a derived class, stops all origin-server caching for the current response.</summary>
<remarks>To be added.</remarks>
<exception cref="T:System.NotImplementedException">Always.</exception>
</Docs>
</Member>
<Member MemberName="SetNoStore">
<MemberSignature Language="C#" Value="public virtual void SetNoStore ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SetNoStore() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.HttpCachePolicyBase.SetNoStore" />
<MemberSignature Language="VB.NET" Value="Public Overridable Sub SetNoStore ()" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual void SetNoStore();" />
<MemberSignature Language="F#" Value="abstract member SetNoStore : unit -&gt; unit&#xA;override this.SetNoStore : unit -&gt; unit" Usage="httpCachePolicyBase.SetNoStore " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Web.Abstractions</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>When overridden in a derived class, sets the <see langword="Cache-Control: no-store" /> HTTP header.</summary>
<remarks>To be added.</remarks>
<exception cref="T:System.NotImplementedException">Always.</exception>
</Docs>
</Member>
<Member MemberName="SetNoTransforms">
<MemberSignature Language="C#" Value="public virtual void SetNoTransforms ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SetNoTransforms() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.HttpCachePolicyBase.SetNoTransforms" />
<MemberSignature Language="VB.NET" Value="Public Overridable Sub SetNoTransforms ()" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual void SetNoTransforms();" />
<MemberSignature Language="F#" Value="abstract member SetNoTransforms : unit -&gt; unit&#xA;override this.SetNoTransforms : unit -&gt; unit" Usage="httpCachePolicyBase.SetNoTransforms " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Web.Abstractions</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>When overridden in a derived class, sets the <see langword="Cache-Control: no-transform" /> HTTP header.</summary>
<remarks>To be added.</remarks>
<exception cref="T:System.NotImplementedException">Always.</exception>
</Docs>
</Member>
<Member MemberName="SetOmitVaryStar">
<MemberSignature Language="C#" Value="public virtual void SetOmitVaryStar (bool omit);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SetOmitVaryStar(bool omit) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.HttpCachePolicyBase.SetOmitVaryStar(System.Boolean)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Sub SetOmitVaryStar (omit As Boolean)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual void SetOmitVaryStar(bool omit);" />
<MemberSignature Language="F#" Value="abstract member SetOmitVaryStar : bool -&gt; unit&#xA;override this.SetOmitVaryStar : bool -&gt; unit" Usage="httpCachePolicyBase.SetOmitVaryStar omit" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Web.Abstractions</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="omit" Type="System.Boolean" Index="0" FrameworkAlternate="netframework-4.8" />
</Parameters>
<Docs>
<param name="omit">
<see langword="true" /> to direct the <see cref="T:System.Web.HttpCachePolicy" /> object not to use the * value for its <see cref="P:System.Web.HttpCachePolicy.VaryByHeaders" /> property; otherwise, <see langword="false" />.</param>
<summary>When overridden in a derived class, specifies whether the response contains the <see langword="vary:*" /> header when caching varies by parameters.</summary>
<remarks>To be added.</remarks>
<exception cref="T:System.NotImplementedException">Always.</exception>
</Docs>
</Member>
<Member MemberName="SetProxyMaxAge">
<MemberSignature Language="C#" Value="public virtual void SetProxyMaxAge (TimeSpan delta);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SetProxyMaxAge(valuetype System.TimeSpan delta) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.HttpCachePolicyBase.SetProxyMaxAge(System.TimeSpan)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Sub SetProxyMaxAge (delta As TimeSpan)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual void SetProxyMaxAge(TimeSpan delta);" />
<MemberSignature Language="F#" Value="abstract member SetProxyMaxAge : TimeSpan -&gt; unit&#xA;override this.SetProxyMaxAge : TimeSpan -&gt; unit" Usage="httpCachePolicyBase.SetProxyMaxAge delta" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Web.Abstractions</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="delta" Type="System.TimeSpan" Index="0" FrameworkAlternate="netframework-4.8" />
</Parameters>
<Docs>
<param name="delta">The time span to set the <see langword="Cache-Control: s-maxage" /> header to.</param>
<summary>When overridden in a derived class, sets the <see langword="Cache-Control: s-maxage" /> HTTP header to the specified time span.</summary>
<remarks>To be added.</remarks>
<exception cref="T:System.NotImplementedException">Always.</exception>
</Docs>
</Member>
<Member MemberName="SetRevalidation">
<MemberSignature Language="C#" Value="public virtual void SetRevalidation (System.Web.HttpCacheRevalidation revalidation);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SetRevalidation(valuetype System.Web.HttpCacheRevalidation revalidation) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.HttpCachePolicyBase.SetRevalidation(System.Web.HttpCacheRevalidation)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Sub SetRevalidation (revalidation As HttpCacheRevalidation)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual void SetRevalidation(System::Web::HttpCacheRevalidation revalidation);" />
<MemberSignature Language="F#" Value="abstract member SetRevalidation : System.Web.HttpCacheRevalidation -&gt; unit&#xA;override this.SetRevalidation : System.Web.HttpCacheRevalidation -&gt; unit" Usage="httpCachePolicyBase.SetRevalidation revalidation" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Web.Abstractions</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="revalidation" Type="System.Web.HttpCacheRevalidation" Index="0" FrameworkAlternate="netframework-4.8" />
</Parameters>
<Docs>
<param name="revalidation">The <see cref="T:System.Web.HttpCacheRevalidation" /> enumeration value to set the <see langword="Cache-Control" /> header to.</param>
<summary>When overridden in a derived class, sets the <see langword="Cache-Control" /> HTTP header to either the <see langword="must-revalidate" /> or the <see langword="proxy-revalidate" /> directives, based on the specified enumeration value.</summary>
<remarks>To be added.</remarks>
<exception cref="T:System.NotImplementedException">Always.</exception>
</Docs>
</Member>
<Member MemberName="SetSlidingExpiration">
<MemberSignature Language="C#" Value="public virtual void SetSlidingExpiration (bool slide);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SetSlidingExpiration(bool slide) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.HttpCachePolicyBase.SetSlidingExpiration(System.Boolean)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Sub SetSlidingExpiration (slide As Boolean)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual void SetSlidingExpiration(bool slide);" />
<MemberSignature Language="F#" Value="abstract member SetSlidingExpiration : bool -&gt; unit&#xA;override this.SetSlidingExpiration : bool -&gt; unit" Usage="httpCachePolicyBase.SetSlidingExpiration slide" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Web.Abstractions</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="slide" Type="System.Boolean" Index="0" FrameworkAlternate="netframework-4.8" />
</Parameters>
<Docs>
<param name="slide">
<see langword="true" /> to set a sliding cache expiration, or <see langword="false" /> to set an absolute cache expiration.</param>
<summary>When overridden in a derived class, sets cache expiration to absolute or sliding.</summary>
<remarks>To be added.</remarks>
<exception cref="T:System.NotImplementedException">Always.</exception>
</Docs>
</Member>
<Member MemberName="SetValidUntilExpires">
<MemberSignature Language="C#" Value="public virtual void SetValidUntilExpires (bool validUntilExpires);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SetValidUntilExpires(bool validUntilExpires) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.HttpCachePolicyBase.SetValidUntilExpires(System.Boolean)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Sub SetValidUntilExpires (validUntilExpires As Boolean)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual void SetValidUntilExpires(bool validUntilExpires);" />
<MemberSignature Language="F#" Value="abstract member SetValidUntilExpires : bool -&gt; unit&#xA;override this.SetValidUntilExpires : bool -&gt; unit" Usage="httpCachePolicyBase.SetValidUntilExpires validUntilExpires" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Web.Abstractions</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="validUntilExpires" Type="System.Boolean" Index="0" FrameworkAlternate="netframework-4.8" />
</Parameters>
<Docs>
<param name="validUntilExpires">
<see langword="true" /> to specify that ASP.NET should ignore <see langword="Cache-Control" /> invalidation headers; otherwise, <see langword="false" />.</param>
<summary>When overridden in a derived class, specifies whether the ASP.NET cache should ignore HTTP <see langword="Cache-Control" /> headers that are sent by the client that invalidate the cache.</summary>
<remarks>To be added.</remarks>
<exception cref="T:System.NotImplementedException">Always.</exception>
</Docs>
</Member>
<Member MemberName="SetVaryByCustom">
<MemberSignature Language="C#" Value="public virtual void SetVaryByCustom (string custom);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SetVaryByCustom(string custom) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.HttpCachePolicyBase.SetVaryByCustom(System.String)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Sub SetVaryByCustom (custom As String)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual void SetVaryByCustom(System::String ^ custom);" />
<MemberSignature Language="F#" Value="abstract member SetVaryByCustom : string -&gt; unit&#xA;override this.SetVaryByCustom : string -&gt; unit" Usage="httpCachePolicyBase.SetVaryByCustom custom" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Web.Abstractions</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="custom" Type="System.String" Index="0" FrameworkAlternate="netframework-4.8" />
</Parameters>
<Docs>
<param name="custom">The text string to vary cached output by.</param>
<summary>When overridden in a derived class, specifies a text string to vary cached output responses by.</summary>
<remarks>To be added.</remarks>
<exception cref="T:System.NotImplementedException">Always.</exception>
</Docs>
</Member>
<Member MemberName="VaryByContentEncodings">
<MemberSignature Language="C#" Value="public virtual System.Web.HttpCacheVaryByContentEncodings VaryByContentEncodings { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Web.HttpCacheVaryByContentEncodings VaryByContentEncodings" />
<MemberSignature Language="DocId" Value="P:System.Web.HttpCachePolicyBase.VaryByContentEncodings" />
<MemberSignature Language="VB.NET" Value="Public Overridable ReadOnly Property VaryByContentEncodings As HttpCacheVaryByContentEncodings" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual property System::Web::HttpCacheVaryByContentEncodings ^ VaryByContentEncodings { System::Web::HttpCacheVaryByContentEncodings ^ get(); };" />
<MemberSignature Language="F#" Value="member this.VaryByContentEncodings : System.Web.HttpCacheVaryByContentEncodings" Usage="System.Web.HttpCachePolicyBase.VaryByContentEncodings" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Web.Abstractions</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Web.HttpCacheVaryByContentEncodings</ReturnType>
</ReturnValue>
<Docs>
<summary>When overridden in a derived class, gets the list of <see langword="Content-Encoding" /> headers that are used to vary the output cache.</summary>
<value>The <see langword="Content-Encoding" /> headers that are used to select the cached response.</value>
<remarks>To be added.</remarks>
<exception cref="T:System.NotImplementedException">Always.</exception>
</Docs>
</Member>
<Member MemberName="VaryByHeaders">
<MemberSignature Language="C#" Value="public virtual System.Web.HttpCacheVaryByHeaders VaryByHeaders { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Web.HttpCacheVaryByHeaders VaryByHeaders" />
<MemberSignature Language="DocId" Value="P:System.Web.HttpCachePolicyBase.VaryByHeaders" />
<MemberSignature Language="VB.NET" Value="Public Overridable ReadOnly Property VaryByHeaders As HttpCacheVaryByHeaders" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual property System::Web::HttpCacheVaryByHeaders ^ VaryByHeaders { System::Web::HttpCacheVaryByHeaders ^ get(); };" />
<MemberSignature Language="F#" Value="member this.VaryByHeaders : System.Web.HttpCacheVaryByHeaders" Usage="System.Web.HttpCachePolicyBase.VaryByHeaders" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Web.Abstractions</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Web.HttpCacheVaryByHeaders</ReturnType>
</ReturnValue>
<Docs>
<summary>When overridden in a derived class, gets the list of all HTTP headers that are used to vary cache output.</summary>
<value>The HTTP headers that are used to select the cached response.</value>
<remarks>To be added.</remarks>
<exception cref="T:System.NotImplementedException">Always.</exception>
</Docs>
</Member>
<Member MemberName="VaryByParams">
<MemberSignature Language="C#" Value="public virtual System.Web.HttpCacheVaryByParams VaryByParams { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Web.HttpCacheVaryByParams VaryByParams" />
<MemberSignature Language="DocId" Value="P:System.Web.HttpCachePolicyBase.VaryByParams" />
<MemberSignature Language="VB.NET" Value="Public Overridable ReadOnly Property VaryByParams As HttpCacheVaryByParams" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual property System::Web::HttpCacheVaryByParams ^ VaryByParams { System::Web::HttpCacheVaryByParams ^ get(); };" />
<MemberSignature Language="F#" Value="member this.VaryByParams : System.Web.HttpCacheVaryByParams" Usage="System.Web.HttpCachePolicyBase.VaryByParams" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Web.Abstractions</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Web.HttpCacheVaryByParams</ReturnType>
</ReturnValue>
<Docs>
<summary>When overridden in a derived class, gets the list of parameters that are received by an HTTP <see langword="GET" /> or <see langword="POST" /> verb that affect caching.</summary>
<value>The cache-control parameters that are used to select the cached response.</value>
<remarks>To be added.</remarks>
<exception cref="T:System.NotImplementedException">Always.</exception>
</Docs>
</Member>
</Members>
</Type>
You can’t perform that action at this time.