This documentation is archived and is not being maintained.

PartialCachingAttribute Constructor

Initializes a new instance of the PartialCachingAttribute class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method PartialCachingAttribute(Int32) Initializes a new instance of the PartialCachingAttribute class with the specified duration assigned to the user control to be cached.
Public method PartialCachingAttribute(Int32, String, String, String) Initializes a new instance of the PartialCachingAttribute class, specifying the caching duration, any GET and POST values, control names, and custom output caching requirements used to vary the cache.
Public method PartialCachingAttribute(Int32, String, String, String, Boolean) Initializes a new instance of the 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.
Public method PartialCachingAttribute(Int32, String, String, String, String, Boolean) Initializes a new instance of the 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.
Top
Show: