System.Web.Caching.Cache: Field Members

The fields of System.Web.Caching.Cache are listed below. For a list of all members, see the Cache Members list.

See Also: Inherited members from System.Object

Public Fields

static readonly
NoAbsoluteExpirationDateTime (12/31/9999 11:59:59 PM).

Used in the absoluteExpiration parameter in an Cache.Insert(string, object) method call to indicate the item should never expire. This field is read-only.

static readonly
NoSlidingExpirationTimeSpan.

Used as the slidingExpiration parameter in an Cache.Insert(string, object) or Cache.Add(string, object, CacheDependency, DateTime, TimeSpan, CacheItemPriority, CacheItemRemovedCallback) method call to disable sliding expirations. This field is read-only.