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>
对象的XNameInstanceValue字典。
注解
当前实例句柄必须绑定到实例。 如果实例句柄绑定到锁或当前实例标记为已完成,则元数据被视为一致;否则,它被认为是怀疑的。