InstancePersistenceContext.ReadInstanceOwnerMetadata Method

Definition

Sets the instance owner metadata using the data passed in the parameter.

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)

Parameters

metadata
IDictionary<XName,InstanceValue>

The dictionary of XName and InstanceValue objects.

complete
Boolean

The value to specify whether the consistency to be set to InDoubt or Partial.

Remarks

The current instance handle must be bound to an instance. If the instance handle is bound to a lock or the current instance is marked as complete, the metadata is considered to be consistent; otherwise, it is considered to be in doubt.

Applies to