Επεξεργασία

Κοινή χρήση μέσω


WorkflowInstanceState Enum

Definition

Specifies the state of a WorkflowInstance.

public enum class WorkflowInstanceState
public enum WorkflowInstanceState
type WorkflowInstanceState = 
Public Enum WorkflowInstanceState
Inheritance
WorkflowInstanceState

Fields

Name Value Description
Idle 0

The WorkflowInstance is idle. A workflow in this state is waiting on an incoming event, such as when executing a Pick activity, or is waiting for the expiration of a timeout, such as when executing a Delay activity.

Runnable 1

The WorkflowInstance can be run. A workflow in this state has been created but Run has not been called.

Complete 2

The WorkflowInstance is complete. A workflow in this state has exited, and its Completed delegate or InvokeCompleted event has executed.

Aborted 3

The WorkflowInstance is aborted. The workflow instance will be in this state after Abort has been called. A workflow in this state is capable of being resumed using Run.

Applies to