PostEvictionDelegate 代理人
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當快取項目過期時,所呼叫的回呼簽章。
public delegate void PostEvictionDelegate(System::Object ^ key, System::Object ^ value, EvictionReason reason, System::Object ^ state);
C#
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
登錄回呼時所傳遞的資訊。
Get |
取得表示特定委派所代表之方法的物件。 |
產品 | 版本 |
---|---|
.NET | 6, 7, 8, 9 |
.NET Framework | 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0 |