WorkflowPersistenceService.GetWorkflowStatus(Activity) Method

Definition

Retrieves the status of the workflow.

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

Parameters

rootActivity
Activity

The root activity of the workflow instance.

Returns

WorkflowStatus

A WorkflowStatus enumeration value that denotes the status of the workflow.

Applies to