共用方式為


PostEvictionDelegate 代理人

定義

當快取項目過期時,所呼叫的回呼簽章。

public delegate void PostEvictionDelegate(System::Object ^ key, System::Object ^ value, EvictionReason reason, System::Object ^ state);
public delegate void PostEvictionDelegate(object key, object? value, EvictionReason reason, object? state);
type PostEvictionDelegate = delegate of obj * obj * EvictionReason * obj -> unit
Public Delegate Sub PostEvictionDelegate(key As Object, value As Object, reason As EvictionReason, state As Object)

參數

key
Object

正在收回的項目索引鍵。

value
Object

正在收回的項目值。

state
Object

登錄回呼時所傳遞的資訊。

擴充方法

GetMethodInfo(Delegate)

取得表示特定委派所代表之方法的物件。

適用於