InstanceStore.OnFreeInstanceHandle(InstanceHandle, Object) 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 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
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.