Represents a view of an instance. For example, the Execute(InstanceHandle, InstancePersistenceCommand, TimeSpan) method implementations return an InstanceView object that provides a view into the instance data in the persistence store.
public ref class InstanceView sealed
public sealed class InstanceView
type InstanceView = class
Public NotInheritable Class InstanceView
Each InstanceView object is associated with an InstanceHandle. For an InstanceView returned from InstanceStore.Execute, the associated handle is the one passed to Execute. For an InstanceView returned from InstancePersistenceContext.InstanceView, the associated handle is the one passed to TryCommand.
An InstanceHandle may have zero or more InstanceView objects associated with it at any given time. InstanceView objects returned from InstanceStore.Execute are immutable and represent a snapshot of the known instance state after the successful execution of that command. InstanceView objects returned from InstancePersistenceContext are mutable and represent the current known instance state as it is being updated during the execution of the command. (If the command ultimately fails, this intermediate state is discarded).
|InstanceData InstanceData InstanceData InstanceData||
Gets instance data as a dictionary of names and values.
|InstanceDataConsistency InstanceDataConsistency InstanceDataConsistency InstanceDataConsistency||
Gets the consistency status of the InstanceData property.
|InstanceId InstanceId InstanceId InstanceId||
Gets the identifier (ID) of the instance as a GUID.
|InstanceKeys InstanceKeys InstanceKeys InstanceKeys||
Gets the instance keys as a dictionary of instance key identifiers and associated InstanceKeyView objects.
|InstanceKeysConsistency InstanceKeysConsistency InstanceKeysConsistency InstanceKeysConsistency||
Gets the consistency status of the InstanceKeys property.
|InstanceMetadata InstanceMetadata InstanceMetadata InstanceMetadata||
Gets the metadata of an instance as a dictionary of names and InstanceValue objects.
|InstanceMetadataConsistency InstanceMetadataConsistency InstanceMetadataConsistency InstanceMetadataConsistency||
Gets the consistency status of the InstanceMetadata property.
|InstanceOwner InstanceOwner InstanceOwner InstanceOwner||
Gets the owner of the instance.
|InstanceOwnerMetadata InstanceOwnerMetadata InstanceOwnerMetadata InstanceOwnerMetadata||
Gets the metadata for an instance owner as a dictionary of names and values.
|InstanceOwnerMetadataConsistency InstanceOwnerMetadataConsistency InstanceOwnerMetadataConsistency InstanceOwnerMetadataConsistency||
Gets the consistency status of the InstanceOwnerMetadata property.
|InstanceState InstanceState InstanceState InstanceState||
Gets the state of the instance (Unknown, Uninitialized, Initialized, or Completed).
|InstanceStoreQueryResults InstanceStoreQueryResults InstanceStoreQueryResults InstanceStoreQueryResults||
Gets a collection of InstanceStoreQueryResult objects. The collection is automatically reset to empty each time a command is executed against the associated instance handle.
|IsBoundToInstance IsBoundToInstance IsBoundToInstance IsBoundToInstance||
Returns a value that indicates whether the associated instance handle is bound to an instance.
|IsBoundToInstanceOwner IsBoundToInstanceOwner IsBoundToInstanceOwner IsBoundToInstanceOwner||
Returns a value that indicates whether the associated instance handle is bound to an instance owner.
|IsBoundToLock IsBoundToLock IsBoundToLock IsBoundToLock||
Returns a value that indicates whether the associated instance handle is bound to an instance lock.
|Equals(Object) Equals(Object) Equals(Object) Equals(Object)||
Determines whether the specified object is equal to the current object.(Inherited from Object)
|GetHashCode() GetHashCode() GetHashCode() GetHashCode()||
Serves as the default hash function.(Inherited from Object)
|GetType() GetType() GetType() GetType()||
Gets the Type of the current instance.(Inherited from Object)
|MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()||
Creates a shallow copy of the current Object.(Inherited from Object)
|ToString() ToString() ToString() ToString()||
Returns a string that represents the current object.(Inherited from Object)