WorkflowPersistenceService.GetWorkflowStatus(Activity) 方法

定义

检索工作流的状态。

protected public:
 static System::Workflow::Runtime::WorkflowStatus GetWorkflowStatus(System::Workflow::ComponentModel::Activity ^ rootActivity);
protected internal static System.Workflow.Runtime.WorkflowStatus GetWorkflowStatus (System.Workflow.ComponentModel.Activity rootActivity);
static member GetWorkflowStatus : System.Workflow.ComponentModel.Activity -> System.Workflow.Runtime.WorkflowStatus
Protected Friend Shared Function GetWorkflowStatus (rootActivity As Activity) As WorkflowStatus

参数

rootActivity
Activity

工作流实例的根活动。

返回

WorkflowStatus

一个 WorkflowStatus 枚举值,表示工作流的状态。

适用于