InstanceStore.OnNewInstanceHandle(InstanceHandle) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.