InstancePersistenceContext.ReadInstanceOwnerMetadata 方法

定义

使用参数中传递的数据设置实例所有者元数据。

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字典。

complete
Boolean

指定要设置为的InDoubt一致性还是要设置Partial的一致性的值。

注解

当前实例句柄必须绑定到实例。 如果实例句柄绑定到锁或当前实例标记为已完成,则元数据被视为一致;否则,它被认为是怀疑的。

适用于