InstanceStore.OnFreeInstanceHandle(InstanceHandle, Object) 方法

定义

释放实例句柄时调用。

protected:
 virtual void OnFreeInstanceHandle(System::Runtime::DurableInstancing::InstanceHandle ^ instanceHandle, System::Object ^ userContext);
protected virtual void OnFreeInstanceHandle(System.Runtime.DurableInstancing.InstanceHandle instanceHandle, object userContext);
abstract member OnFreeInstanceHandle : System.Runtime.DurableInstancing.InstanceHandle * obj -> unit
override this.OnFreeInstanceHandle : System.Runtime.DurableInstancing.InstanceHandle * obj -> unit
Protected Overridable Sub OnFreeInstanceHandle (instanceHandle As InstanceHandle, userContext As Object)

参数

instanceHandle
InstanceHandle

已释放的实例句柄。

userContext
Object

持久性提供程序从 OnNewInstanceHandle 返回的用户上下文信息;如果未重写 OnNewInstanceHandle,则为 null。

适用于