15 references to Active
System.ServiceModel.Activities (15)
System\ServiceModel\Activities\Dispatcher\WorkflowServiceInstance.cs (15)
233
return this.state == State.
Active
;
682
if (this.state != State.
Active
)
802
bool isRunnable = this.state == State.
Active
&& this.isRunnable && !this.IsIdle;
808
else if ((this.IsIdle || this.state != State.
Active
) && NotifyNextIdleWaiter(ref ownsLock))
1186
this.state = State.
Active
;
1644
Fx.Assert(this.state == State.
Active
, "WorkflowServiceInstance.State should be State.Active at this point.");
1838
if (this.state == State.
Active
)
1855
if (this.hasRaisedCompleted || (this.state == State.
Active
&& this.isRunnable) || this.isInTransaction)
2263
if ((this.state == State.Suspended && this.isTransactedCancelled) || this.state == State.
Active
)
2276
this.state = State.
Active
;
4303
this.Instance.state = State.
Active
;
4555
this.Instance.state = State.
Active
;
4759
this.Instance.state = State.
Active
;
4904
if (this.instance.state == State.
Active
&& !this.instance.isRunnable)
4912
if (this.instance.state == State.
Active
&& this.instance.Controller.State == WorkflowInstanceState.Runnable)