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);
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) |
获取指示指定委托表示的方法的对象。 |