WorkflowStatus Enumeration
Specifies the status of a workflow instance.
Assembly: System.Workflow.Runtime (in System.Workflow.Runtime.dll)
| Member name | Description | |
|---|---|---|
| Completed | The workflow instance has completed. | |
| Created | The workflow instance has been created by a call to one of the overloaded WorkflowRuntime::CreateWorkflow methods. | |
| Running | The workflow instance is running. | |
| Suspended | The workflow instance has been suspended by a SuspendActivity activity, by a call to WorkflowInstance::Suspend,or by the workflow runtime engine. | |
| Terminated | The workflow instance has been terminated by a |
Note |
|---|
This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5. |
The following code example demonstrates how you can use the WorkflowStatus values to set the WorkflowStatus property. Each value constrains the SqlTrackingWorkflowInstance in a different way.
This code example is part of the Workflow Monitor SDK Sample from the DatabaseService.cs file. For more information, see Workflow Monitor.
Available since 3.0
System.Workflow.Runtime Namespace
Workflow Monitor
