This documentation is archived and is not being maintained.

PartialCachingAttribute Properties

The PartialCachingAttribute type exposes the following members.

  NameDescription
Public property Duration Gets the amount of time, in seconds, that cached items should remain in the output cache.
Public property ProviderName Gets or sets the name of the provider that is used to store the output-cached data for the associated control.
Public property Shared Gets a value indicating whether user control output can be shared with multiple pages.
Public property SqlDependency Gets a delimited string that identifies one or more database and table name pairs that the cached user control is dependent on.
Public property TypeId When implemented in a derived class, gets a unique identifier for this Attribute. (Inherited from Attribute.)
Public property VaryByControls Gets a list of user control properties that the output cache uses to vary the user control.
Public property VaryByCustom Gets a list of custom strings that the output cache will use to vary the user control.
Public property VaryByParams Gets a list of query string or form POST parameters that the output cache will use to vary the user control.
Top
Show: