.NET Framework Class Library
ControlCachePolicy Methods

The ControlCachePolicy type exposes the following members.

  NameDescription
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method SetExpires Instructs the BasePartialCachingControl control that wraps the user control to expire the cache entry at the specified date and time.
Public method SetSlidingExpiration Instructs the BasePartialCachingControl control that wraps the user control to set the user control's cache entry to use sliding or absolute expiration.
Public method SetVaryByCustom Sets a list of custom strings that the output cache will use to vary the user control.
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)
Top

SetExpires Method
SetSlidingExpiration Method
SetVaryByCustom Method

MSDN Library
.NET Development
.NET Framework 3.5
.NET Framework Class Library
System.Web.UI Namespace
ControlCachePolicy Class
ControlCachePolicy Methods
Tags: 
 
Community Content