Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 CacheItem type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
![]() |
CacheItem | Overloaded. |
Methods
| Name | Description | |
|---|---|---|
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetExpirations |
Returns array of ICacheItemExpiration objects for this instance.
|
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
HasExpired |
Evaluates all cacheItemExpirations associated with this cache item to determine if it should be considered expired. Evaluation stops as soon as any expiration returns true.
|
![]() |
MakeEligibleForScavenging |
Makes the cache item eligible for scavenging.
|
![]() |
MakeNotEligibleForScavenging |
Makes the cache item not eligible for scavenging.
|
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
ToString | (Inherited from Object.) |
![]() |
TouchedByUserAction |
Intended to be used internally only. This method is called whenever a CacheItem is touched through the action of a user. It prevents this CacheItem from being expired or scavenged during an in-progress expiration or scavenging process. It has no effect on subsequent expiration or scavenging processes.
|
Properties
| Name | Description | |
|---|---|---|
![]() |
EligibleForScavenging |
Intended to be used internally only. The value should be true when an item is eligible for scavenging.
|
![]() |
Key |
Returns the key associated with this CacheItem
|
![]() |
LastAccessedTime |
Returns the last accessed time.
|
![]() |
RefreshAction |
Intended to be used internally only. Returns object used to refresh expired CacheItems.
|
![]() |
ScavengingPriority |
Returns the CacheItemPriority assigned to this CacheItem
|
![]() |
Value |
Returns the cached value of this CacheItem
|
![]() |
WillBeExpired |
Intended to be used internally only. The value should be true when an item is eligible to be expired.
|
See Also
Microsoft.Practices.EnterpriseLibrary.Caching 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. |
.gif)
.gif)
.gif)