InstanceStore.OnNewInstanceHandle(InstanceHandle) 方法

定义

创建新实例句柄时调用。

protected:
 virtual System::Object ^ OnNewInstanceHandle(System::Runtime::DurableInstancing::InstanceHandle ^ instanceHandle);
protected virtual object OnNewInstanceHandle(System.Runtime.DurableInstancing.InstanceHandle instanceHandle);
abstract member OnNewInstanceHandle : System.Runtime.DurableInstancing.InstanceHandle -> obj
override this.OnNewInstanceHandle : System.Runtime.DurableInstancing.InstanceHandle -> obj
Protected Overridable Function OnNewInstanceHandle (instanceHandle As InstanceHandle) As Object

参数

instanceHandle
InstanceHandle

实例句柄。

返回

对象。 当使用句柄执行命令以及释放句柄时,此用户上下文对象将提供给持久性提供程序。

适用于