InstancePersistenceContext.ReadInstanceOwnerMetadata 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
利用參數中傳遞的資料來設定實例擁有者的元資料。
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。
備註
目前的實例句柄必須綁定到某個實例。 若實例句柄綁定於鎖或目前實例標記為完整,則該中繼資料被視為一致;否則,該書被視為有疑慮。