InstancePersistenceContext.LoadedInstance Methode

Definition

Gibt an, dass der Persistenzanbieter die aktuelle Instanz erfolgreich aus dem Instanzspeicher abgerufen hat.

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)))

Parameter

state
InstanceState

Die Informationen zum Instanzstatus.

instanceData
IDictionary<XName,InstanceValue>

Die Instanzdaten als Wörterbuch und XNameInstanceValue Objekte.

instanceMetadata
IDictionary<XName,InstanceValue>

Instanzmetadaten als Sammlung von XName und InstanceValue Objekten.

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

Zugeordnete Instanzschlüsselmetadaten als Wörterbuch mit Instanzenbezeichner und Instanzschlüsselmetadaten, bei denen es sich um ein Wörterbuch und XNameInstanceValue Objekte handelt.

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

Abgeschlossene Instanzmetadaten als Wörterbuch mit Instanzbezeichner und Instanzschlüsselmetadaten, bei denen es sich um ein Wörterbuch und XNameInstanceValue Objekte handelt.

Hinweise

Das aktuelle Instanzhandle muss an eine Instanz gebunden sein. Wenn das Instanzhandle an eine Sperre gebunden ist oder die geladene Instanz als abgeschlossen gekennzeichnet ist, werden die geladenen Daten als konsistent betrachtet. andernfalls wird sie als zweifelhaft angesehen.

Gilt für: