InstancePersistenceContext.LoadedInstance Methode

Definitie

Geeft aan dat de persistentieprovider het huidige exemplaar heeft opgehaald uit het exemplaararchief.

public:
 void LoadedInstance(System::Runtime::DurableInstancing::InstanceState state, System::Collections::Generic::IDictionary<System::Xml::Linq::XName ^, System::Runtime::DurableInstancing::InstanceValue ^> ^ instanceData, System::Collections::Generic::IDictionary<System::Xml::Linq::XName ^, System::Runtime::DurableInstancing::InstanceValue ^> ^ instanceMetadata, System::Collections::Generic::IDictionary<Guid, System::Collections::Generic::IDictionary<System::Xml::Linq::XName ^, System::Runtime::DurableInstancing::InstanceValue ^> ^> ^ associatedInstanceKeyMetadata, System::Collections::Generic::IDictionary<Guid, System::Collections::Generic::IDictionary<System::Xml::Linq::XName ^, System::Runtime::DurableInstancing::InstanceValue ^> ^> ^ completedInstanceKeyMetadata);
public void LoadedInstance(System.Runtime.DurableInstancing.InstanceState state, System.Collections.Generic.IDictionary<System.Xml.Linq.XName,System.Runtime.DurableInstancing.InstanceValue> instanceData, System.Collections.Generic.IDictionary<System.Xml.Linq.XName,System.Runtime.DurableInstancing.InstanceValue> instanceMetadata, System.Collections.Generic.IDictionary<Guid,System.Collections.Generic.IDictionary<System.Xml.Linq.XName,System.Runtime.DurableInstancing.InstanceValue>> associatedInstanceKeyMetadata, System.Collections.Generic.IDictionary<Guid,System.Collections.Generic.IDictionary<System.Xml.Linq.XName,System.Runtime.DurableInstancing.InstanceValue>> completedInstanceKeyMetadata);
member this.LoadedInstance : System.Runtime.DurableInstancing.InstanceState * System.Collections.Generic.IDictionary<System.Xml.Linq.XName, System.Runtime.DurableInstancing.InstanceValue> * System.Collections.Generic.IDictionary<System.Xml.Linq.XName, System.Runtime.DurableInstancing.InstanceValue> * System.Collections.Generic.IDictionary<Guid, System.Collections.Generic.IDictionary<System.Xml.Linq.XName, System.Runtime.DurableInstancing.InstanceValue>> * System.Collections.Generic.IDictionary<Guid, System.Collections.Generic.IDictionary<System.Xml.Linq.XName, System.Runtime.DurableInstancing.InstanceValue>> -> unit
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)))

Parameters

state
InstanceState

De statusinformatie van het exemplaar.

instanceData
IDictionary<XName,InstanceValue>

De exemplaargegevens als een woordenlijst van XName en InstanceValue objecten.

instanceMetadata
IDictionary<XName,InstanceValue>

Instantiemetagegevens als verzameling XName en InstanceValue objecten.

associatedInstanceKeyMetadata
IDictionary<Guid,IDictionary<XName,InstanceValue>>

Gekoppelde metagegevens van exemplaarsleutels als een woordenlijst met exemplaar-id en metagegevens van exemplaarsleutels, een woordenlijst van XName en InstanceValue objecten.

completedInstanceKeyMetadata
IDictionary<Guid,IDictionary<XName,InstanceValue>>

Voltooide exemplaarmetagegevens als een woordenlijst met exemplaar-id en metagegevens van de instantiesleutel, een woordenlijst XName van en InstanceValue objecten.

Opmerkingen

De huidige exemplaarhandgreep moet zijn gebonden aan een exemplaar. Als de exemplaargreep is gebonden aan een vergrendeling of als het geladen exemplaar als voltooid is gemarkeerd, worden de geladen gegevens als consistent beschouwd; anders wordt het als twijfel beschouwd.

Van toepassing op