Edit

Share via


WorkflowStatus Enum

Definition

Caution

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

Specifies the status of a workflow instance.

public enum class WorkflowStatus
public enum WorkflowStatus
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public enum WorkflowStatus
type WorkflowStatus = 
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type WorkflowStatus = 
Public Enum WorkflowStatus
Inheritance
WorkflowStatus
Attributes

Fields

Name Value Description
Running 0

The workflow instance is running.

Completed 1

The workflow instance has completed.

Suspended 2

The workflow instance has been suspended by a SuspendActivity activity, by a call to Suspend(String),or by the workflow runtime engine.

Terminated 3

The workflow instance has been terminated by a TerminateActivity activity, by a call to Terminate(String), or by the workflow runtime engine.

Created 4

The workflow instance has been created by a call to one of the overloaded CreateWorkflow(Type) methods.

Remarks

Note

This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

Applies to