OutputCacheParameters Class
TOC
Collapse the table of content
Expand the table of content

OutputCacheParameters Class

 

Encapsulates the output cache initialization settings parsed from an @ OutputCache page directive by ASP.NET. This class cannot be inherited.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

System.Object
  System.Web.UI.OutputCacheParameters

public sealed class OutputCacheParameters

NameDescription
System_CAPS_pubmethodOutputCacheParameters()

Initializes a new instance of the OutputCacheParameters class.

NameDescription
System_CAPS_pubpropertyCacheProfile

Gets or sets an OutputCacheProfile name that is associated with the settings of the output cache entry.

System_CAPS_pubpropertyDuration

Gets or sets the amount of time that a cache entry is to remain in the output cache.

System_CAPS_pubpropertyEnabled

Gets or sets a value indicating whether output caching is enabled for the current content.

System_CAPS_pubpropertyLocation

Gets or sets a value that determines the location of the cache entry.

System_CAPS_pubpropertyNoStore

Gets or sets a value that determines whether the HTTP Cache-Control: no-store directive is set.

System_CAPS_pubpropertySqlDependency

Gets or sets a set of database and table name pairs that the cache entry depends on.

System_CAPS_pubpropertyVaryByContentEncoding

Gets or sets a comma-delimited set of character sets (content encodings) used to vary the cache entry.

System_CAPS_pubpropertyVaryByControl

Gets or sets a semicolon-delimited set of control identifiers contained within the current page or user control used to vary the current cache entry.

System_CAPS_pubpropertyVaryByCustom

Gets a list of custom strings that the output cache uses to vary the cache entry.

System_CAPS_pubpropertyVaryByHeader

Gets or sets a comma-delimited set of header names used to vary the cache entry. The header names identify HTTP headers associated with the request.

System_CAPS_pubpropertyVaryByParam

Gets a semicolon-delimited list of query string or form POST parameters that the output cache uses to vary the cache entry.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

The OutputCacheParameters class is not used by ASP.NET page or control developers. It provides a data structure used to store cache settings parsed from an @ OutputCache page directive by ASP.NET page and control parsers such as PageParser and TemplateControlParser. The OutputCacheParameters object is used with the M:System.Web.UI.Page.InitOutputCache(System.Web.UI.OutputCacheSettings) method to initialize the output cache for a page and its contents at run time.

.NET Framework
Available since 2.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft