WorkflowStatus Enumeration

 
Note: This API is now obsolete.

Specifies the status of a workflow instance.

Namespace:   System.Workflow.Runtime
Assembly:  System.Workflow.Runtime (in System.Workflow.Runtime.dll)

[ObsoleteAttribute("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public enum class WorkflowStatus

Member nameDescription
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

System_CAPS_noteNote

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.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show: