CacheEntryUpdateArguments.UpdatedCacheItem Propriedade
Definição
public:
property System::Runtime::Caching::CacheItem ^ UpdatedCacheItem { System::Runtime::Caching::CacheItem ^ get(); void set(System::Runtime::Caching::CacheItem ^ value); };
public System.Runtime.Caching.CacheItem UpdatedCacheItem { get; set; }
member this.UpdatedCacheItem : System.Runtime.Caching.CacheItem with get, set
Public Property UpdatedCacheItem As CacheItem
Valor da propriedade
A entrada de cache a ser atualizada no objeto de cache.The cache entry to update in the cache object. O padrão é null.The default is null.
Comentários
Se você quiser trocar uma entrada de cache que está prestes a ser removida para uma entrada de cache atualizada, deverá atribuir um CacheItem objeto à UpdatedCacheItem propriedade e atribuir um CacheItemPolicy objeto à UpdatedCacheItemPolicy propriedade.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. O CacheItem valor deve ser um valor diferente de null .The CacheItem value must be a value other than null. As implementações de cache interpretarão um null valor para a UpdatedCacheItem propriedade como um aviso de que a entrada de cache atual deve ser removida, mas não substituída.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.