InstancePersistenceContext.LoadedInstance 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
表示持續性提供者已經成功地從執行個體存放區中擷取目前的執行個體。
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)))
參數
- state
- InstanceState
執行個體狀態資訊。
- instanceData
- IDictionary<XName,InstanceValue>
做為 XName 和 InstanceValue 物件之字典的執行個體資料。
- instanceMetadata
- IDictionary<XName,InstanceValue>
做為 XName 和 InstanceValue 物件之集合的執行個體中繼資料。
- associatedInstanceKeyMetadata
- IDictionary<Guid,IDictionary<XName,InstanceValue>>
做為執行個體識別項和執行個體索引鍵中繼資料之字典的相關聯執行個體索引鍵中繼資料,該中繼資料是 XName 和 InstanceValue 物件的字典。
- completedInstanceKeyMetadata
- IDictionary<Guid,IDictionary<XName,InstanceValue>>
做為執行個體識別碼和執行個體索引鍵中繼資料之字典的已完成執行個體中繼資料,這個中繼資料是 XName 和 InstanceValue 物件的字典。
備註
目前的執行個體控制代碼必須繫結至執行個體。 如果此執行個體控制代碼繫結程序至鎖定或已載入的執行個體標示為完成,已載入的資料就會被視為一致的,否則這項資料就會被視為不確定。