InstancePersistenceContext.LoadedInstance Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Reads the instance data and all associated instance keys.
Namespace: System.Runtime.Persistence
Assembly: System.Runtime (in System.Runtime.dll)
Syntax
'Declaration
Public Sub LoadedInstance ( _
state As InstanceState, _
instanceData As IDictionary(Of XName, InstanceValue), _
instanceMetadata As IDictionary(Of XName, InstanceValue), _
associatedInstanceKeyMetadata As IDictionary(Of Guid, IDictionary(Of XName, InstanceValue)), _
completedInstanceKeyMetadata As IDictionary(Of Guid, IDictionary(Of XName, InstanceValue)) _
)
'Usage
Dim instance As InstancePersistenceContext
Dim state As InstanceState
Dim instanceData As IDictionary(Of XName, InstanceValue)
Dim instanceMetadata As IDictionary(Of XName, InstanceValue)
Dim associatedInstanceKeyMetadata As IDictionary(Of Guid, IDictionary(Of XName, InstanceValue))
Dim completedInstanceKeyMetadata As IDictionary(Of Guid, IDictionary(Of XName, InstanceValue))
instance.LoadedInstance(state, instanceData, _
instanceMetadata, associatedInstanceKeyMetadata, _
completedInstanceKeyMetadata)
public void LoadedInstance(
InstanceState state,
IDictionary<XName, InstanceValue> instanceData,
IDictionary<XName, InstanceValue> instanceMetadata,
IDictionary<Guid, IDictionary<XName, InstanceValue>> associatedInstanceKeyMetadata,
IDictionary<Guid, IDictionary<XName, InstanceValue>> completedInstanceKeyMetadata
)
public:
void LoadedInstance(
InstanceState state,
IDictionary<XName^, InstanceValue^>^ instanceData,
IDictionary<XName^, InstanceValue^>^ instanceMetadata,
IDictionary<Guid, IDictionary<XName^, InstanceValue^>^>^ associatedInstanceKeyMetadata,
IDictionary<Guid, IDictionary<XName^, InstanceValue^>^>^ completedInstanceKeyMetadata
)
member LoadedInstance :
state:InstanceState *
instanceData:IDictionary<XName, InstanceValue> *
instanceMetadata:IDictionary<XName, InstanceValue> *
associatedInstanceKeyMetadata:IDictionary<Guid, IDictionary<XName, InstanceValue>> *
completedInstanceKeyMetadata:IDictionary<Guid, IDictionary<XName, InstanceValue>> -> unit
Parameters
- state
Type: System.Runtime.Persistence.InstanceState
The instance state information.
- instanceData
Type: System.Collections.Generic.IDictionary<XName, InstanceValue>
The instance data as a dictionary of XName and InstanceValue objects.
- instanceMetadata
Type: System.Collections.Generic.IDictionary<XName, InstanceValue>
Instance metadata as a collection of XName and InstanceValue objects.
- associatedInstanceKeyMetadata
Type: System.Collections.Generic.IDictionary<Guid, IDictionary<XName, InstanceValue>>
Associated instance key metadata as a dictionary of instance identifier and instance key metadata, which is a dictionary of XName and InstanceValue objects.
- completedInstanceKeyMetadata
Type: System.Collections.Generic.IDictionary<Guid, IDictionary<XName, InstanceValue>>
Completed instance metadata as a dictionary of instance identifier and instance key metadata, which is a dictionary of XName and InstanceValue objects.
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
See Also
Reference
InstancePersistenceContext Class