Partager via


SlidingTime.HasExpired Method

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.

Specifies if item has expired or not.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Caching.Expirations
Assembly:  Microsoft.Practices.EnterpriseLibrary.Caching (in Microsoft.Practices.EnterpriseLibrary.Caching.dll)

Syntax

'Declaration
PublicFunctionHasExpiredAs Boolean
public bool HasExpired()
public:
virtual bool HasExpired() sealed
publicfinalfunctionHasExpired() : boolean

Return Value

Returns true if the item has expired otherwise false.

Implements

ICacheItemExpiration.HasExpired()

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.