Jaa


AbsoluteTime.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

"True", if the data item has expired or "false", if the data item has not expired

Implements

ICacheItemExpiration.HasExpired()

Remarks

bool isExpired = ICacheItemExpiration.HasExpired();

See Also

AbsoluteTime 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.