System.Activities.DurableInstancing 命名空间

提供类,与持久性实例相关。 Provides classes related to durable instancing.

ActivatableWorkflowsQueryResult

包含通过针对实例存储执行 QueryActivatableWorkflowsCommand 而产生的结果。Contains the results from executing the QueryActivatableWorkflowsCommand against an instance store.

CreateWorkflowOwnerCommand

使用此持久性命令将工作流服务宿主注册为持久性数据库中的锁所有者。Use this persistence command to register a workflow service host as a lock owner in the persistence database.

CreateWorkflowOwnerWithIdentityCommand

指定具有标识命令的工作流所有者的创建。Specifies creation of a workflow owner with identity command.

DeleteWorkflowOwnerCommand

从持久性数据库中删除锁所有者信息。Deletes lock owner information from the persistence database.

HasActivatableWorkflowEvent

表示一个事件,实例存储将引发该事件,将持久性数据库中是否存在可激活实例的相关信息通知泛型宿主。Represents an event that an instance store raises to notify generic hosts about the existence of activatable instances in the persistence database.

HasRunnableWorkflowEvent

表示一个事件,SQL 工作流实例存储将引发该事件,将持久性数据库中是否存在可运行实例的信息通知工作流宿主。Represents an event that the SQL Workflow Instance Store raises to notify workflow hosts about the existence of runnable instances in the persistence database.

LoadWorkflowByInstanceKeyCommand

一个持久性命令,该命令通过使用与工作流实例关联的实例键来加载该实例。A persistence command that loads a workflow instance by using the instance key associated with the instance.

LoadWorkflowCommand

一个持久性命令,该命令基于持久性存储中工作流实例的状态信息加载该实例。A persistence command that loads a workflow instance based on state information of the instance in the persistence store.

QueryActivatableWorkflowsCommand

表示泛型宿主针对实例存储执行以便检索激活参数的命令。Represents the command that a generic host executes against an instance store to retrieve activation parameters. 泛型宿主使用这些激活参数来创建工作流宿主,后者又依次加载可运行的服务实例。The generic host uses these activation parameters to create a workflow host, which in turn loads a runnable service instance.

SaveWorkflowCommand

一个持久性命令,该命令允许您将实例状态信息保存到持久性存储中。A persistence command that lets you save instance state information into the persistence store.

SqlWorkflowInstanceStore

派生自持久性功能的抽象 InstanceStore 类,并提供实现以允许将实例状态信息保存到 SQL Server 2005 或 SQL Server 2008 数据库,或从该数据库中加载实例状态信息。Derives from the abstract InstanceStore class of the persistence functionality and provides implementation to allow saving instance state information to and loading instance state information from an SQL Server 2005 or SQL Server 2008 database.

TryLoadRunnableWorkflowCommand

表示工作流宿主将针对实例存储执行的命令,用于将持久性存储中的可运行实例加载到内存中。Represents the command that a workflow host executes against an instance store to load runnable instances in the persistence store into the memory.

枚举

InstanceCompletionAction

包含一些选项,这些选项指定持久性提供程序在实例完成之后是应将实例的状态信息保留在持久性存储中,还是应将该信息删除。Contains options that specify whether the persistence provider should keep or delete the state information for an instance in the persistence store after the instance completes.

InstanceEncodingOption

包含一些选项,这些选项指定持久性提供程序是否应在将实例状态信息保存到持久性存储之前使用 GZip 算法对该状态信息进行编码。Contains options that specify whether the persistence provider should encode the instance state information using the GZip algorithm before saving the state information into the persistence store.

InstanceLockedExceptionAction

包含一些选项,这些选项指定,如果 SQL 持久性提供程序在尝试锁定实例时收到异常,它应采取什么操作。Contains options that specify what action the SQL persistence provider should take when it receives an exception when trying to lock an instance.