This documentation is archived and is not being maintained.

Cache Fields

The fields of the Cache class are listed here. For a complete list of Cache class members, see the Cache Members topic.

Public Fields

public fieldstatic (Shared in Visual Basic)NoAbsoluteExpiration Used in the absoluteExpiration parameter in an Insert method call to indicate the item should never expire. This field is read-only.
public fieldstatic (Shared in Visual Basic)NoSlidingExpiration Used as the slidingExpiration parameter in an Insert or Add method call to disable sliding expirations. This field is read-only.

See Also

Cache Class | System.Web.Caching Namespace