Jaa


SlidingTime Members

Include Protected Members
Include Inherited Members

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The SlidingTime type exposes the following members.

Constructors

  Name Description
Public method SlidingTime
Create an instance of this class with the timespan for expiration.

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method HasExpired
Specifies if item has expired or not.
Public method Initialize
Used to set the initial value of TimeLastUsed. This method is invoked during the reinstantiation of an instance from a persistent store.
Protected method MemberwiseClone (Inherited from Object.)
Public method Notify
Notifies that the item was recently used.
Public method ToString (Inherited from Object.)

Properties

  Name Description
Public property ItemSlidingExpiration
Returns sliding time window that must be exceeded for expiration to occur
Public property TimeLastUsed
Returns time that this object was last touched

See Also

SlidingTime Class

Microsoft.Practices.EnterpriseLibrary.Caching.Expirations Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.