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 | |
---|---|---|
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. | |
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. | |
InstanceHandle | Represents a handle to InstanceView object. | |
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. | |
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. | |
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. | |
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. | |
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. | |
InstanceKeyView | Provides a view into instance key information. | |
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. | |
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. | |
InstanceLockQueryResult | Contains a dictionary of IDs of instances and their owners, who have locks on the instances. | |
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. | |
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. | |
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. | |
InstanceOwnerQueryResult | Contains metadata associated with an instance owner or instance owners that are retrieved from a persistence store. | |
InstancePersistenceCommand | Base class for all persistence related command classes. | |
InstancePersistenceCommandException | A persistence provider throws this exception when an error occurs while processing a persistence command. | |
InstancePersistenceContext | Represents execution state information while a persistence command is being executed. | |
InstancePersistenceException | Base class for all the persistence related exception classes. The InstanceOwnerException and the InstancePersistenceCommandException are derived classes of this class. | |
InstanceStore | Represents an instance store. | |
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. | |
InstanceValue | Stores the information about instance data and metadata. | |
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 | |
---|---|---|
InstanceKeyState | Contains a list of valid states for instance keys. | |
InstanceState | This enumeration contains a list of states of an instance. | |
InstanceValueConsistency | Describes the consistency guarantee of the instance values contained in a specified dictionary. | |
InstanceValueOptions | Contains options for instance values to indicate whether the instance values are write-only, optional, there are no instance values. |