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。

适用于