InstancePersistenceContext.ReadInstanceKeyMetadata 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.
Indicates that the persistence provider has successfully read some instance key metadata for a key associated to the current instance from the instance store.
public:
void ReadInstanceKeyMetadata(Guid key, System::Collections::Generic::IDictionary<System::Xml::Linq::XName ^, System::Runtime::DurableInstancing::InstanceValue ^> ^ metadata, bool complete);
public void ReadInstanceKeyMetadata (Guid key, System.Collections.Generic.IDictionary<System.Xml.Linq.XName,System.Runtime.DurableInstancing.InstanceValue> metadata, bool complete);
member this.ReadInstanceKeyMetadata : Guid * System.Collections.Generic.IDictionary<System.Xml.Linq.XName, System.Runtime.DurableInstancing.InstanceValue> * bool -> unit
Public Sub ReadInstanceKeyMetadata (key As Guid, metadata As IDictionary(Of XName, InstanceValue), complete As Boolean)
Parameters
- key
- Guid
The instance key identifier for the key whose metadata was read. Must not be Guid.Empty.
- metadata
- IDictionary<XName,InstanceValue>
The metadata as a dictionary of XName and InstanceValue objects.
- complete
- Boolean
true
if the metadata represents all of the metadata associated to the instance key; otherwise, false
.
Remarks
The current instance handle must be bound to an instance. If the instance handle is bound to a lock or the current instance is marked as complete, the metadata is considered to be consistent; otherwise, it is considered to be in doubt.