InstancePersistenceContext.LoadedInstance 方法

定义

指示持久性提供程序已成功从实例存储中检索当前实例。

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>

实例数据作为字典 XNameInstanceValue 对象。

instanceMetadata
IDictionary<XName,InstanceValue>

作为集合 XNameInstanceValue 对象的实例元数据。

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

关联的实例密钥元数据作为实例标识符字典和实例键元数据的字典,它是字典 XNameInstanceValue 对象。

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

作为实例标识符字典和实例键元数据(即字典和XName对象)InstanceValue的已完成实例元数据。

注解

当前实例句柄必须绑定到实例。 如果实例句柄绑定到锁或加载的实例标记为已完成,则加载的数据被视为一致;否则,它被认为是怀疑的。

适用于