Edit

Share via


InstanceStore.OnNewInstanceHandle(InstanceHandle) Method

Definition

Invoked when a new instance handle is created.

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

Parameters

instanceHandle
InstanceHandle

An instance handle.

Returns

An object. This user context object will be available to the persistence provider when commands are executed using the handle, and when the handle is freed.

Applies to