The CacheSettings type exposes the following members.

Constructors

  NameDescription
CacheSettings
Initializes a new instance of the CacheSettings class.

Methods

  NameDescription
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
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.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
AbsoluteExpiration
The time at which the added object expires and is removed from the cache. If you are using sliding expiration, the absoluteExpiration parameter must be NoAbsoluteExpiration.
CacheKeys
An list of cache keys that is monitored for changes. When any of these cache keys changes, the cached page data object becomes obsolete and is removed from the cache.
CancelCaching
Gets or sets a value indicating whether the page/listing should be added to cache. If value is true to the page/listing will not be added to cache.
FileNames
An list of paths (to files or directories) that the cached object is dependent upon. When any of these resources changes, the cached PageData becomes obsolete and is removed from the cache.
SlidingExpiration
The interval between the time the added object was last accessed and the time at which that object expires. If absolute expiration is used, the slidingExpiration parameter must be NoSlidingExpiration.

See Also