CacheItemPolicy.RemovedCallback 屬性

定義

取得或設定對 CacheEntryRemovedCallback 委派的參考,移除快取中的項目後會呼叫該委派。

public:
 property System::Runtime::Caching::CacheEntryRemovedCallback ^ RemovedCallback { System::Runtime::Caching::CacheEntryRemovedCallback ^ get(); void set(System::Runtime::Caching::CacheEntryRemovedCallback ^ value); };
public System.Runtime.Caching.CacheEntryRemovedCallback RemovedCallback { get; set; }
member this.RemovedCallback : System.Runtime.Caching.CacheEntryRemovedCallback with get, set
Public Property RemovedCallback As CacheEntryRemovedCallback

屬性值

對快取實作呼叫之委派的參考。

備註

從快取中移除快取項目之後,快取會叫用 屬性所參考的 RemovedCallback 回呼物件。 快取實作可以使用這個回呼來通知呼叫方法已移除快取專案。

適用於