InstanceStore.OnNewInstanceHandle(InstanceHandle) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建新实例句柄时调用。
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
实例句柄。
返回
对象。 当使用句柄执行命令以及释放句柄时,此用户上下文对象将提供给持久性提供程序。