語言

DurableInstancingOptions.AddInstanceOwnerValues 方法

定義

為實例擁有者新增主機的元資料。 此方法可在工作流主機開啟前被呼叫。

public:
 void AddInstanceOwnerValues(System::Collections::Generic::IDictionary<System::Xml::Linq::XName ^, System::Object ^> ^ readWriteValues, System::Collections::Generic::IDictionary<System::Xml::Linq::XName ^, System::Object ^> ^ writeOnlyValues);
public void AddInstanceOwnerValues(System.Collections.Generic.IDictionary<System.Xml.Linq.XName,object> readWriteValues, System.Collections.Generic.IDictionary<System.Xml.Linq.XName,object> writeOnlyValues);
member this.AddInstanceOwnerValues : System.Collections.Generic.IDictionary<System.Xml.Linq.XName, obj> * System.Collections.Generic.IDictionary<System.Xml.Linq.XName, obj> -> unit
Public Sub AddInstanceOwnerValues (readWriteValues As IDictionary(Of XName, Object), writeOnlyValues As IDictionary(Of XName, Object))

參數

readWriteValues
IDictionary<XName,Object>

讀寫元資料。

writeOnlyValues
IDictionary<XName,Object>

只寫值。 這些值在載入實例時是可選的。

適用於