CacheEntryUpdateArguments::UpdatedCacheItem Property
.NET Framework (current version)
Gets or sets the value of CacheItem entry that is used to update the cache object.
Assembly: System.Runtime.Caching (in System.Runtime.Caching.dll)
public: property CacheItem^ UpdatedCacheItem { CacheItem^ get(); void set(CacheItem^ value); }
Property Value
Type: System.Runtime.Caching::CacheItem^The cache entry to update in the cache object. The default is null.
If you want to exchange a cache entry that is about to be removed for an updated cache entry, you must assign a CacheItem object to the UpdatedCacheItem property and assign a CacheItemPolicy object to the UpdatedCacheItemPolicy property. The CacheItem value must be a value other than null. Cache implementations will interpret a null value for the UpdatedCacheItem property as a notice that the current cache entry should be removed but not replaced.
.NET Framework
Available since 4.0
Available since 4.0
Show: