OutputCacheParameters Class
Encapsulates the output cache initialization settings parsed from an @ OutputCache page directive by ASP.NET. This class cannot be inherited.
Assembly: System.Web (in System.Web.dll)
| Name | Description | |
|---|---|---|
![]() | OutputCacheParameters() | Initializes a new instance of the OutputCacheParameters class. |
| Name | Description | |
|---|---|---|
![]() | CacheProfile | Gets or sets an OutputCacheProfile name that is associated with the settings of the output cache entry. |
![]() | Duration | Gets or sets the amount of time that a cache entry is to remain in the output cache. |
![]() | Enabled | Gets or sets a value indicating whether output caching is enabled for the current content. |
![]() | Location | Gets or sets a value that determines the location of the cache entry. |
![]() | NoStore | Gets or sets a value that determines whether the HTTP Cache-Control: no-store directive is set. |
![]() | SqlDependency | Gets or sets a set of database and table name pairs that the cache entry depends on. |
![]() | VaryByContentEncoding | Gets or sets a comma-delimited set of character sets (content encodings) used to vary the cache entry. |
![]() | VaryByControl | 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. |
![]() | VaryByCustom | Gets a list of custom strings that the output cache uses to vary the cache entry. |
![]() | VaryByHeader | 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. |
![]() | VaryByParam | Gets a semicolon-delimited list of query string or form POST parameters that the output cache uses to vary the cache entry. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | ToString() | 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.
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.

