Szerkesztés

Megosztás a következőn keresztül:


InstancePersistenceContext.LoadedInstance Method

Definition

Indicates that the persistence provider has successfully retrieved the current instance from the instance store.

public:
 void LoadedInstance(System::Runtime::DurableInstancing::InstanceState state, System::Collections::Generic::IDictionary<System::Xml::Linq::XName ^, System::Runtime::DurableInstancing::InstanceValue ^> ^ instanceData, System::Collections::Generic::IDictionary<System::Xml::Linq::XName ^, System::Runtime::DurableInstancing::InstanceValue ^> ^ instanceMetadata, System::Collections::Generic::IDictionary<Guid, System::Collections::Generic::IDictionary<System::Xml::Linq::XName ^, System::Runtime::DurableInstancing::InstanceValue ^> ^> ^ associatedInstanceKeyMetadata, System::Collections::Generic::IDictionary<Guid, System::Collections::Generic::IDictionary<System::Xml::Linq::XName ^, System::Runtime::DurableInstancing::InstanceValue ^> ^> ^ completedInstanceKeyMetadata);
public void LoadedInstance (System.Runtime.DurableInstancing.InstanceState state, System.Collections.Generic.IDictionary<System.Xml.Linq.XName,System.Runtime.DurableInstancing.InstanceValue> instanceData, System.Collections.Generic.IDictionary<System.Xml.Linq.XName,System.Runtime.DurableInstancing.InstanceValue> instanceMetadata, System.Collections.Generic.IDictionary<Guid,System.Collections.Generic.IDictionary<System.Xml.Linq.XName,System.Runtime.DurableInstancing.InstanceValue>> associatedInstanceKeyMetadata, System.Collections.Generic.IDictionary<Guid,System.Collections.Generic.IDictionary<System.Xml.Linq.XName,System.Runtime.DurableInstancing.InstanceValue>> completedInstanceKeyMetadata);
member this.LoadedInstance : System.Runtime.DurableInstancing.InstanceState * System.Collections.Generic.IDictionary<System.Xml.Linq.XName, System.Runtime.DurableInstancing.InstanceValue> * System.Collections.Generic.IDictionary<System.Xml.Linq.XName, System.Runtime.DurableInstancing.InstanceValue> * System.Collections.Generic.IDictionary<Guid, System.Collections.Generic.IDictionary<System.Xml.Linq.XName, System.Runtime.DurableInstancing.InstanceValue>> * System.Collections.Generic.IDictionary<Guid, System.Collections.Generic.IDictionary<System.Xml.Linq.XName, System.Runtime.DurableInstancing.InstanceValue>> -> unit
Public Sub LoadedInstance (state As InstanceState, instanceData As IDictionary(Of XName, InstanceValue), instanceMetadata As IDictionary(Of XName, InstanceValue), associatedInstanceKeyMetadata As IDictionary(Of Guid, IDictionary(Of XName, InstanceValue)), completedInstanceKeyMetadata As IDictionary(Of Guid, IDictionary(Of XName, InstanceValue)))

Parameters

state
InstanceState

The instance state information.

instanceData
IDictionary<XName,InstanceValue>

The instance data as a dictionary of XName and InstanceValue objects.

instanceMetadata
IDictionary<XName,InstanceValue>

Instance metadata as a collection of XName and InstanceValue objects.

associatedInstanceKeyMetadata
IDictionary<Guid,IDictionary<XName,InstanceValue>>

Associated instance key metadata as a dictionary of instance identifier and instance key metadata, which is a dictionary of XName and InstanceValue objects.

completedInstanceKeyMetadata
IDictionary<Guid,IDictionary<XName,InstanceValue>>

Completed instance metadata as a dictionary of instance identifier and instance key metadata, which is a dictionary of XName and InstanceValue objects.

Remarks

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

Applies to