SqlWorkflowPersistenceService.LoadWorkflowInstanceState(Guid) 方法
定义
从数据库中检索指定的工作流实例状态。Retrieves the specified workflow instance state from the database.
protected public:
override System::Workflow::ComponentModel::Activity ^ LoadWorkflowInstanceState(Guid id);
protected internal override System.Workflow.ComponentModel.Activity LoadWorkflowInstanceState (Guid id);
override this.LoadWorkflowInstanceState : Guid -> System.Workflow.ComponentModel.Activity
Protected Friend Overrides Function LoadWorkflowInstanceState (id As Guid) As Activity
参数
返回
一个 Activity,表示工作流实例的根活动。An Activity that represents the root activity of the workflow instance.
例外
数据库中找不到匹配 id 的工作流实例状态。A workflow instance state that matches id could not be found in the database.
注解
LoadWorkflowInstanceState 只应由工作流运行时引擎调用。LoadWorkflowInstanceState should only be called by the workflow run-time engine.