InstancePersistenceContext.LoadedInstance Metodo

Definizione

Indica che il provider di persistenza ha recuperato correttamente l'istanza corrente dall'archivio di istanze.

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

Parametri

state
InstanceState

Informazioni sullo stato dell'istanza.

instanceData
IDictionary<XName,InstanceValue>

Dati dell'istanza come dizionario di XName oggetti e InstanceValue .

instanceMetadata
IDictionary<XName,InstanceValue>

Metadati dell'istanza come raccolta di XName oggetti e InstanceValue .

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

Metadati della chiave dell'istanza associati come dizionario di metadati dell'identificatore di istanza e di chiave dell'istanza, ovvero un dizionario di XName oggetti e InstanceValue .

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

Metadati dell'istanza completati come dizionario di identificatore di istanza e metadati della chiave dell'istanza, ovvero un dizionario di XName oggetti e InstanceValue .

Commenti

L'handle dell'istanza corrente deve essere associato a un'istanza di . Se l'handle dell'istanza è associato a un blocco o l'istanza caricata è contrassegnata come completa, i dati caricati vengono considerati coerenti; in caso contrario, è considerato in dubbio.

Si applica a