Edit

Share via


InstancePersistenceContext.WroteInstanceMetadataValue Method

Definition

Indicates that the persistence provider has successfully written a metadata value for the current instance to the external instance store.

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)

Parameters

name
XName

The name of the metadata property.

value
InstanceValue

The value of the metadata property.

Remarks

The current instance handle must be bound to an instance as well as has a lock on that instance. The instance must not be completed.

Applies to