DurableInstancingOptions.AddInstanceOwnerValues(IDictionary<XName,Object>, IDictionary<XName,Object>) 方法
定义
向主机添加实例所有者的元数据。Adds metadata for an instance owner to the host. 可以在打开工作流主机之前调用此方法。This method may be called before the workflow host is opened.
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>
读写元数据。The read-write metadata.
- writeOnlyValues
- IDictionary<XName,Object>
只写值。The write-only values. 这些值在加载实例时是可选的。These values are optional when loading an instance.