InstancePersistenceContext.WroteInstanceMetadataValue 方法

定义

指示持久性提供程序已成功将当前实例的元数据值写入外部实例存储。

public:
 void WroteInstanceMetadataValue(System::Xml::Linq::XName ^ name, System::Runtime::DurableInstancing::InstanceValue ^ value);
public void WroteInstanceMetadataValue(System.Xml.Linq.XName name, System.Runtime.DurableInstancing.InstanceValue value);
member this.WroteInstanceMetadataValue : System.Xml.Linq.XName * System.Runtime.DurableInstancing.InstanceValue -> unit
Public Sub WroteInstanceMetadataValue (name As XName, value As InstanceValue)

参数

name
XName

元数据属性的名称。

value
InstanceValue

元数据属性的值。

注解

当前实例句柄必须绑定到实例,并在该实例上具有锁。 实例不能完成。

适用于