InstancePersistenceContext.ReadInstanceKeyMetadata 方法

定義

表示持久化提供者已成功從實例儲存庫讀取與目前實例相關的某個實例金鑰元資料。

public:
 void ReadInstanceKeyMetadata(Guid key, System::Collections::Generic::IDictionary<System::Xml::Linq::XName ^, System::Runtime::DurableInstancing::InstanceValue ^> ^ metadata, bool complete);
public void ReadInstanceKeyMetadata(Guid key, System.Collections.Generic.IDictionary<System.Xml.Linq.XName,System.Runtime.DurableInstancing.InstanceValue> metadata, bool complete);
member this.ReadInstanceKeyMetadata : Guid * System.Collections.Generic.IDictionary<System.Xml.Linq.XName, System.Runtime.DurableInstancing.InstanceValue> * bool -> unit
Public Sub ReadInstanceKeyMetadata (key As Guid, metadata As IDictionary(Of XName, InstanceValue), complete As Boolean)

參數

key
Guid

讀取中繼資料的金鑰的實例金鑰識別碼。 一定不是Guid。空的。

metadata
IDictionary<XName,InstanceValue>

元資料作為物件的字典XNameInstanceValue

complete
Boolean

true如果該中繼資料代表與實例鍵相關的所有中繼資料;否則,。 false

備註

目前的實例句柄必須綁定到某個實例。 若實例句柄綁定於鎖或目前實例標記為完整,則該中繼資料被視為一致;否則,該書被視為有疑慮。

適用於