InstancePersistenceContext.ReadInstanceOwnerMetadata 方法

定義

利用參數中傳遞的資料來設定實例擁有者的元資料。

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

參數

metadata
IDictionary<XName,InstanceValue>

XName物件的字典InstanceValue

complete
Boolean

該值指定一致性是否設為InDoubtPartial或 。

備註

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

適用於