9 writes to WorkflowStatus
System.Workflow.Runtime (9)
WorkflowExecutor.cs (9)
148
this.
WorkflowStatus
= WorkflowStatus.Created;
571
this.
WorkflowStatus
= WorkflowStatus.Running;
979
this.
WorkflowStatus
= WorkflowStatus.Terminated;
1170
this.
WorkflowStatus
= WorkflowStatus.Completed;
1202
this.
WorkflowStatus
= oldStatus;
1685
this.
WorkflowStatus
= WorkflowStatus.Terminated;
1700
this.
WorkflowStatus
= oldStatus;
1956
this.
WorkflowStatus
= WorkflowStatus.Suspended;
2039
this.
WorkflowStatus
= WorkflowStatus.Running;
24 references to WorkflowStatus
System.Workflow.Runtime (24)
Lock.cs (2)
267
if (!workflowExec.IsInstanceValid && (workflowExec.
WorkflowStatus
== WorkflowStatus.Completed || workflowExec.
WorkflowStatus
== WorkflowStatus.Terminated))
WorkflowExecutor.cs (18)
259
if (this.
WorkflowStatus
== WorkflowStatus.Running)
322
switch (this.
WorkflowStatus
)
564
if (this.
WorkflowStatus
!= WorkflowStatus.Created)
725
if ((this.rootActivity.ExecutionStatus == ActivityExecutionStatus.Closed) || (WorkflowStatus.Completed == this.
WorkflowStatus
) || (WorkflowStatus.Terminated == this.
WorkflowStatus
))
965
else if (this.
WorkflowStatus
!= WorkflowStatus.Suspended && this.IsInstanceValid)
1004
WorkflowStatus oldStatus = this.
WorkflowStatus
;
1037
if (WorkflowStatus.Completed ==
WorkflowStatus
)
1110
if (WorkflowStatus.Completed ==
WorkflowStatus
)
1166
WorkflowStatus workflowStatus = this.
WorkflowStatus
;
1173
switch (this.
WorkflowStatus
)
1299
if ((this.
WorkflowStatus
== WorkflowStatus.Suspended) || (!this.Scheduler.CanRun))
1425
get { return ((this.currentAtomicActivity == null) && (this.Scheduler.IsStalledNow || this.
WorkflowStatus
== WorkflowStatus.Suspended)); }
1683
WorkflowStatus oldStatus = this.
WorkflowStatus
;
1928
WorkflowStatus status = this.
WorkflowStatus
;
1991
if ((this.
WorkflowStatus
!= WorkflowStatus.Suspended))
2031
if ((this.
WorkflowStatus
!= WorkflowStatus.Suspended) && (!this.Scheduler.CanRun))
2695
switch (this.
WorkflowStatus
)
WorkflowInstance.cs (4)
61
Debug.Assert(value.
WorkflowStatus
== WorkflowStatus.Completed || value.
WorkflowStatus
== WorkflowStatus.Terminated,
174
if (executor.
WorkflowStatus
== WorkflowStatus.Created)
337
if (executor.
WorkflowStatus
== WorkflowStatus.Created)