System.Web.Caching.Cache.NoAbsoluteExpiration Field

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.

Value: 12/31/9999 11:59:59 PM

Syntax

public static readonly DateTime NoAbsoluteExpiration

Remarks

When used, this field sets the absoluteExpiration parameter equal to DateTime.MaxValue, which is a constant representing the largest possible DateTime value, 12/31/9999 11:59:59 PM.

Requirements

Namespace: System.Web.Caching
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0