InstancePersistenceContext.LoadedInstance Metoda

Definice

Označuje, že zprostředkovatel trvalosti úspěšně načetl aktuální instanci z úložiště instancí.

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

Parametry

state
InstanceState

Informace o stavu instance.

instanceData
IDictionary<XName,InstanceValue>

Data instance jako slovník XName objektů a InstanceValue objektů.

instanceMetadata
IDictionary<XName,InstanceValue>

Metadata instance jako kolekce XName a InstanceValue objekty.

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

Přidružená metadata klíče instance jako slovník identifikátoru instance a metadat klíče instance, což je slovník XName objektů a InstanceValue objektů.

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

Dokončená metadata instance jako slovník identifikátoru instance a metadat klíče instance, což je slovník XName objektů a InstanceValue objektů.

Poznámky

Aktuální popisovač instance musí být vázán na instanci. Pokud je popisovač instance vázán na zámek nebo načtená instance je označena jako dokončená, načtená data jsou považována za konzistentní; v opačném případě je považován za pochybné.

Platí pro