InstancePersistenceContext.WroteInstanceMetadataValue Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.