InstancePersistenceContext.ReadInstanceKeyMetadata Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Sets the instance key metadata by using the information passed as a parameter.
Namespace: System.Runtime.Persistence
Assembly: System.Runtime (in System.Runtime.dll)
'Declaration
Public Sub ReadInstanceKeyMetadata ( _
key As Guid, _
metadata As IDictionary(Of XName, InstanceValue), _
complete As Boolean _
)
'Usage
Dim instance As InstancePersistenceContext
Dim key As Guid
Dim metadata As IDictionary(Of XName, InstanceValue)
Dim complete As Boolean
instance.ReadInstanceKeyMetadata(key, _
metadata, complete)
public void ReadInstanceKeyMetadata(
Guid key,
IDictionary<XName, InstanceValue> metadata,
bool complete
)
public:
void ReadInstanceKeyMetadata(
Guid key,
IDictionary<XName^, InstanceValue^>^ metadata,
bool complete
)
member ReadInstanceKeyMetadata :
key:Guid *
metadata:IDictionary<XName, InstanceValue> *
complete:bool -> unit
- key
Type: System.Guid
The instance key identifier.
- metadata
Type: System.Collections.Generic.IDictionary<XName, InstanceValue>
The metadata as a dictionary of XName and InstanceValue objects.
- complete
Type: System.Boolean
The value used to update the InstanceMetadataConsistency of the instance view.
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.
Supported in: 4
Supported in: 4
InstancePersistenceContext Class