InstancePersistenceContext.LoadedInstance Metódus

Definíció

Azt jelzi, hogy az adatmegőrzési szolgáltató sikeresen lekérte az aktuális példányt a példánytárolóból.

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

Paraméterek

state
InstanceState

A példány állapotadatai.

instanceData
IDictionary<XName,InstanceValue>

A példányadatok szótárként XName és InstanceValue objektumokként.

instanceMetadata
IDictionary<XName,InstanceValue>

Példány metaadatai gyűjteményként és XName objektumokkéntInstanceValue.

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

A társított példánykulcs metaadatai a példányazonosító és a példánykulcs metaadatainak szótáraként, amely az objektumok és XName az objektumok szótáraInstanceValue.

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

A kész példány metaadatai a példányazonosító és a példánykulcs metaadatainak szótáraként, amely az objektumok és XName az objektumok szótáraInstanceValue.

Megjegyzések

Az aktuális példányleírónak egy példányhoz kell kötődnie. Ha a példánykezelő zároláshoz van kötve, vagy a betöltött példány befejezettként van megjelölve, a betöltött adatok konzisztensnek minősülnek; ellenkező esetben kétségek merülnek fel.

A következőre érvényes: