CacheEntryRemovedArguments 類別

定義

提供已經從快取區中移除之快取項目的相關資訊。

public ref class CacheEntryRemovedArguments
public class CacheEntryRemovedArguments
type CacheEntryRemovedArguments = class
Public Class CacheEntryRemovedArguments
繼承
CacheEntryRemovedArguments

備註

類別的屬性 CacheEntryRemovedArguments 代表快取專案本身、 ObjectCache 從中移除專案的實例,以及移除的原因。 類別的 CacheEntryRemovedArguments 建構函式會使用這些自變數來建立 類別的新實例。

CacheEntryRemovedArguments物件通常會在回呼方法中建立,以在從快取中移除快取專案時,將已移除快取專案的相關信息傳回應用程式。

建構函式

CacheEntryRemovedArguments(ObjectCache, CacheEntryRemovedReason, CacheItem)

初始化 CacheEntryRemovedArguments 類別的新執行個體。

屬性

CacheItem

取得已經從快取區中移除之快取項目的執行個體。

RemovedReason

取得值,該值可表示移除快取項目的原因。

Source

取得來源 ObjectCache 執行個體的參考,該執行個體原來包含已移除的快取項目。

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

適用於

另請參閱