CacheEntryRemovedArguments Class
Provides information about a cache entry that was removed from the cache.
Assembly: System.Runtime.Caching (in System.Runtime.Caching.dll)
| Name | Description | |
|---|---|---|
![]() | CacheEntryRemovedArguments(ObjectCache^, CacheEntryRemovedReason, CacheItem^) | Initializes a new instance of the CacheEntryRemovedArguments class. |
| Name | Description | |
|---|---|---|
![]() | CacheItem | Gets an instance of a cache entry that was removed from the cache. |
![]() | RemovedReason | Gets a value that indicates why a cache entry was removed. |
![]() | Source | Gets a reference to the source ObjectCache instance that originally contained the removed cache entry. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
The properties of CacheEntryRemovedArguments class represent the cache entry itself, the ObjectCache instance that the entry was removed from, and the reason for the removal. The constructor of the CacheEntryRemovedArguments class uses these arguments to create a new instance of the class.
A CacheEntryRemovedArguments object is typically created in a callback method to pass information about a removed cache entry back to an application when a cache entry is removed from the cache.
Available since 4.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


