Aracılığıyla paylaş


InstancePersistenceContext.LoadedInstance Yöntem

Tanım

Kalıcılık sağlayıcısının örnek deposundan geçerli örneği başarıyla aldığı anlamına gelir.

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

Parametreler

state
InstanceState

Örnek durumu bilgileri.

instanceData
IDictionary<XName,InstanceValue>

Ve InstanceValue nesnelerinin XName sözlüğü olarak örnek verileri.

instanceMetadata
IDictionary<XName,InstanceValue>

Ve InstanceValue nesnelerinin XName bir koleksiyonu olarak örnek meta verileri.

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

örnek tanımlayıcısının sözlüğü ve ve InstanceValue nesnelerinin sözlüğü olan XName örnek anahtarı meta verileriyle ilişkili örnek anahtarı meta verileri.

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

Tamamlanan örnek meta verileri, ve nesnelerinin sözlüğü olan örnek tanımlayıcısı ve örnek anahtarı meta verilerinin XNameInstanceValue sözlüğü olarak.

Açıklamalar

Geçerli örnek tanıtıcısı bir örneğe bağlı olmalıdır. Örnek tanıtıcısı bir kilide bağlıysa veya yüklenen örnek tamamlandı olarak işaretlenirse, yüklenen verilerin tutarlı olduğu kabul edilir; aksi takdirde, şüphe olarak kabul edilir.

Şunlara uygulanır