System.Web.UI.PartialCachingAttribute Members

The members of System.Web.UI.PartialCachingAttribute are listed below.

See Also: Inherited members from System.Attribute

Public Constructors

Initializes a new instance of the System.Web.UI.PartialCachingAttribute class with the specified duration assigned to the user control to be cached.

Initializes a new instance of the System.Web.UI.PartialCachingAttribute class, specifying the caching duration, any GET and POST values, control names, and custom output caching requirements used to vary the cache.

Initializes a new instance of the System.Web.UI.PartialCachingAttribute class, specifying the caching duration, any GET and POST values, control names, custom output caching requirements used to vary the cache, and whether the user control output can be shared with multiple pages.

Initializes a new instance of the System.Web.UI.PartialCachingAttribute class, specifying the caching duration, any GET and POST values, control names, custom output caching requirements used to vary the cache, the database dependencies, and whether the user control output can be shared with multiple pages.

Public Properties

[read-only]
Durationint.

Gets the amount of time, in seconds, that cached items should remain in the output cache.

[read-only]
Sharedbool.

Gets a value indicating whether user control output can be shared with multiple pages.

[read-only]
SqlDependencystring.

Gets a delimited string that identifies one or more database and table name pairs that the cached user control is dependent on.

[read-only]
VaryByControlsstring.

Gets a list of user control properties that the output cache uses to vary the user control.

[read-only]
VaryByCustomstring.

Gets a list of custom strings that the output cache will use to vary the user control.

[read-only]
VaryByParamsstring.

Gets a list of query string or form POST parameters that the output cache will use to vary the user control.