Edit

Share via


InstanceStore.OnFreeInstanceHandle(InstanceHandle, Object) Method

Definition

Invoked when an instance handle is freed.

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)

Parameters

instanceHandle
InstanceHandle

The instance handle that was freed.

userContext
Object

The persistence provider's user context information that was returned from OnNewInstanceHandle, or null if OnNewInstanceHandle is not overridden.

Applies to