編輯

共用方式為


System.Runtime.DurableInstancing Namespace

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

Classes

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.

InstanceCompleteException

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 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.

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.

InstanceKeyCompleteException

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 query result set represented by a dictionary of ID of instance and the instance owner which currently owns the lock on each instance.

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 the instance owner bound to the instance handle has become invalid.

InstanceOwnerQueryResult

Contains a query result set consisting of metadata associated with an instance owner or instance owners that are retrieved from a persistence store.

InstancePersistenceCommand

Base class for all persistence related commands. Commands are distinguished by their Name. Usually commands can also be distinguished by their derived type.

InstancePersistenceCommandException

A 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.

InstancePersistenceContext

Represents execution state information while a persistence command is being executed.

InstancePersistenceEvent

Represents an event that an instance store raises to notify hosts about a condition. Examples: HasRunnableWorkflowEvent and HasActivatableWorkflowEvent.

InstancePersistenceEvent<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.

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

Supports 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 may provide 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.

InstanceValue

Stores the information about instance data and metadata.

InstanceView

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.

Enums

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.