System.Web.UI.ControlCachePolicy: Method Members

The methods of System.Web.UI.ControlCachePolicy are listed below. For a list of all members, see the ControlCachePolicy Members list.

See Also: Inherited members from System.Object

Public Methods

SetExpires(DateTime)

Instructs the System.Web.UI.BasePartialCachingControl control that wraps the user control to expire the cache entry at the specified date and time.

SetSlidingExpiration(bool)

Instructs the System.Web.UI.BasePartialCachingControl control that wraps the user control to set the user control's cache entry to use sliding or absolute expiration.

SetVaryByCustom(string)

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