SqlWorkflowPersistenceService.UnlockWorkflowInstanceState(Activity) 方法

定义

解除对指定工作流实例状态访问的锁定。Unlocks access to the specified workflow instance state.

protected public:
 override void UnlockWorkflowInstanceState(System::Workflow::ComponentModel::Activity ^ rootActivity);
protected internal override void UnlockWorkflowInstanceState (System.Workflow.ComponentModel.Activity rootActivity);
override this.UnlockWorkflowInstanceState : System.Workflow.ComponentModel.Activity -> unit
Protected Friend Overrides Sub UnlockWorkflowInstanceState (rootActivity As Activity)

参数

rootActivity
Activity

一个 Activity,表示工作流实例的根活动。An Activity that represents the root activity of the workflow instance.

注解

工作流运行时使用此方法,在数据存储区中对工作流实例状态进行解锁而不进行保留;如果运行时必须对此状态进行解锁而不进行保留(如在 Abort 的情况下),工作流运行时将调用此方法。This method is used by the workflow runtime to unlock a workflow instance state in the data store without persistence and is called by the workflow runtime if the runtime must unlock the state without persisting, for example, in the case of an Abort.

适用于