PostEvictionDelegate 代理人
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當快取項目過期時,所呼叫的回呼簽章。
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);
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
正在收回的項目值。
- reason
- EvictionReason
- state
- Object
登錄回呼時所傳遞的資訊。
擴充方法
GetMethodInfo(Delegate) |
取得表示特定委派所代表之方法的物件。 |
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應