System.Runtime.DurableInstancing Namespace

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

  ClassDescription
Public classInstanceCollisionExceptionA 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 classInstanceCompleteExceptionA 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 classInstanceHandleRepresents a handle to InstanceView object.
Public classInstanceHandleConflictExceptionA persistence provider throws this exception when it tries to acquire write access to an instance by binding an instance handle to an instance lock, when an instance handle with write access to that instance already exists.
Public classInstanceKeyRepresents 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 classInstanceKeyCollisionExceptionA 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 classInstanceKeyCompleteExceptionA 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 classInstanceKeyNotReadyExceptionA 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 classInstanceKeyViewProvides a view into instance key information.
Public classInstanceLockedExceptionA 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 classInstanceLockLostExceptionA 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 classInstanceLockQueryResultContains query result set represented by a dictionary of ID of instance and the instance owner which currently owns the lock on each instance.
Public classInstanceNotReadyExceptionA 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 classInstanceOwnerRepresents the owner of an instance in the instance store. An instance owner is an interaction participant with an instance in the instance store.
Public classInstanceOwnerExceptionA persistence provider throws this exception when the instance owner bound to the instance handle has become invalid.
Public classInstanceOwnerQueryResultContains a query result set consisting of metadata associated with an instance owner or instance owners that are retrieved from a persistence store.
Public classInstancePersistenceCommandBase class for all persistence related commands. Commands are distinguished by their Name. Usually commands can also be distinguished by their derived type.
Public classInstancePersistenceCommandExceptionA persistence provider throws this exception when an error occurs while processing a persistence command. The persistence provider may also free the instance handle against which the command was executed if the error would extend to future uses of the instance handle.
Public classInstancePersistenceContextRepresents execution state information while a persistence command is being executed.
Public classInstancePersistenceEventRepresents an event that an instance store raises to notify hosts about a condition. Examples: HasRunnableWorkflowEvent and HasActivatableWorkflowEvent.
Public classInstancePersistenceEvent<T>Represents an event that an instance store raises to notify hosts about a change. This is a generic class. Classes such as HasRunnableWorkflowEvent and HasActivatableWorkflowEvent derive from this class.
Public classInstancePersistenceExceptionBase class for all the persistence related exception classes. The InstanceOwnerException and the InstancePersistenceCommandException are derived classes of this class.
Public classInstanceStoreRepresents an instance store.
Public classInstanceStoreQueryResultSupports an extensible mechanism to provide data from an instance store. This includes data for instances, instance owners, and instance keys other than those bound to the instance handle being used. For example, a persistence provider mayprovide the owner metadata for all the instance owners in the store by passing an instance of a class derived from InstanceStoreQueryResult to the QueriedInstanceStore(InstanceStoreQueryResult)method.
Public classInstanceValueStores the information about instance data and metadata.
Public classInstanceViewRepresents 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.

  EnumerationDescription
Public enumerationInstanceKeyStateContains a list of valid states for instance keys.
Public enumerationInstanceStateThis enumeration contains a list of states of an instance.
Public enumerationInstanceValueConsistencyDescribes the consistency guarantee of the instance values contained in a specified dictionary.
Public enumerationInstanceValueOptionsContains options for instance values to indicate whether the instance values are write-only, optional, there are no instance values.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft