InstancePersistenceContext.PersistedInstance 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
表示持久化提供者已成功將一組實例資料持久化至實例儲存。 這會讓該實例如果還沒初始化,就會被初始化。
public:
void PersistedInstance(System::Collections::Generic::IDictionary<System::Xml::Linq::XName ^, System::Runtime::DurableInstancing::InstanceValue ^> ^ data);
public void PersistedInstance(System.Collections.Generic.IDictionary<System.Xml.Linq.XName,System.Runtime.DurableInstancing.InstanceValue> data);
member this.PersistedInstance : System.Collections.Generic.IDictionary<System.Xml.Linq.XName, System.Runtime.DurableInstancing.InstanceValue> -> unit
Public Sub PersistedInstance (data As IDictionary(Of XName, InstanceValue))
參數
- data
- IDictionary<XName,InstanceValue>
實例資料作為物件的字典XNameInstanceValue。
備註
目前的實例 handle 必須綁定在實例上,並且該實例上有鎖。 每一組實例資料都會完全取代前一組。 實例資料集合可能是空的——這與空資料相同。 持久化一個空值資料集會刪除現有的實例資料集合。 (持久化一組實例資料不會影響實例的中繼資料。)