Redigeeri

Jagamisviis:


InstancePersistenceContext.WroteInstanceKeyMetadataValue Method

Definition

Indicates that the persistence provider has successfully written a metadata value for an instance key that is associated with the current instance to the instance store.

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

Parameters

key
Guid

The instance key identifier for the key. Must not be Guid.Empty.

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 a lock on that instance. The instance key must be associated with the current instance and must not be completed.

Applies to