System.Runtime.Persistence Namespace

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

This namespace contains classes that are used by the Windows Communication Foundation (WCF) infrastructure to implement a persistence provider.

Classes

  Class Description
Public class InstanceCollisionException A persistence provider throws this exception when it expects an instance to be in an uninitialized state but the instance is not in that state.
Public class InstanceCompletedException A persistence provider throws this exception when it expects to find an instance in the initialized state, but finds the instance is in the completed state.
Public class InstanceHandle Represents a handle to InstanceView object.
Public class InstanceHandleConflictException A persistence provider throws this exception when it tries to acquire an instance handle with write access to an instance for which a handle with write access already exists.
Public class InstanceKey Represents an instance key and contains an identifier and metadata associated with the instance key. An instance key acts as a non-unique alias for an instance.
Public class InstanceKeyCollisionException A persistence provider throws this exception when it expects to find an instance key in the unassociated state, but finds the key in a different state.
Public class InstanceKeyCompletedException A persistence provider throws this exception when it expects to find an instance key in the associated state but finds the key in the completed state.
Public class InstanceKeyNotReadyException A persistence provider throws this exception when it expects to find an instance key in the associated state, but finds the key in the unassociated state.
Public class InstanceKeyView Provides a view into instance key information.
Public class InstanceLockedException A persistence provider throws this exception when it is unable to acquire a lock on an instance because the instance is already locked by another owner.
Public class InstanceLockLostException A persistence provider throws this exception when it cannot perform the command because the lock on the instance does not match the lock associated with the instance handle against which the command was executed. Either the owner or the version does not match.
Public class InstanceLockQueryResult Contains a dictionary of IDs of instances and their owners, who have locks on the instances.
Public class InstanceNotReadyException A persistence provider throws this exception when it expects to find an instance in an initialized state, but finds the instance in an uninitialized state.
Public class InstanceOwner Represents the owner of an instance in the instance store. An instance owner is an interaction participant with an instance in the instance store.
Public class InstanceOwnerException A persistence provider throws this exception when it fails to acquire a lock on an instance because instance owner bound to the instance handle is invalid.
Public class InstanceOwnerQueryResult Contains metadata associated with an instance owner or instance owners that are retrieved from a persistence store.
Public class InstancePersistenceCommand Base class for all persistence related command classes.
Public class InstancePersistenceCommandException A persistence provider throws this exception when an error occurs while processing a persistence command.
Public class InstancePersistenceContext Represents execution state information while a persistence command is being executed.
Public class InstancePersistenceException Base class for all the persistence related exception classes. The InstanceOwnerException and the InstancePersistenceCommandException are derived classes of this class.
Public class InstanceStore Represents an instance store.
Public class InstanceStoreQueryResult Provides extensible mechanism for retrieving data from an instance store without requiring an instance handle from the caller. For example, a caller may want to retrieve owner metadata for all the instance owners in the store.
Public class InstanceValue Stores the information about instance data and metadata.
Public class InstanceView Represents 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.

Enumerations

  Enumeration Description
Public enumeration InstanceKeyState Contains a list of valid states for instance keys.
Public enumeration InstanceState This enumeration contains a list of states of an instance.
Public enumeration InstanceValueConsistency Describes the consistency guarantee of the instance values contained in a specified dictionary.
Public enumeration InstanceValueOptions Contains options for instance values to indicate whether the instance values are write-only, optional, there are no instance values.