InstanceStore.OnFreeInstanceHandle Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Invoked when the instance handle is freed.
Namespace: System.Runtime.Persistence
Assembly: System.Runtime (in System.Runtime.dll)
Syntax
'Declaration
Protected Overridable Sub OnFreeInstanceHandle ( _
instanceHandle As InstanceHandle, _
userContext As Object _
)
'Usage
Dim instanceHandle As InstanceHandle
Dim userContext As Object
Me.OnFreeInstanceHandle(instanceHandle, _
userContext)
protected virtual void OnFreeInstanceHandle(
InstanceHandle instanceHandle,
Object userContext
)
protected:
virtual void OnFreeInstanceHandle(
InstanceHandle^ instanceHandle,
Object^ userContext
)
abstract OnFreeInstanceHandle :
instanceHandle:InstanceHandle *
userContext:Object -> unit
override OnFreeInstanceHandle :
instanceHandle:InstanceHandle *
userContext:Object -> unit
Parameters
- instanceHandle
Type: System.Runtime.Persistence.InstanceHandle
An instance handle.
- userContext
Type: System.Object
The user context information.
Platforms
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Framework
Supported in: 4
.NET Framework Client Profile
Supported in: 4