24 references to WorkflowApplicationState
System.Activities (24)
System\Activities\WorkflowApplication.cs (24)
74
WorkflowApplicationState
state;
122
Fx.Assert(this.state ==
WorkflowApplicationState
.Paused, "We always start out paused (the default)");
322
return this.state ==
WorkflowApplicationState
.Unloaded || this.state ==
WorkflowApplicationState
.Aborted;
645
WorkflowApplicationState
localApplicationState = this.state;
695
shouldRunNow = (localInstanceState.HasValue && localInstanceState == WorkflowInstanceState.Runnable && localApplicationState ==
WorkflowApplicationState
.Runnable);
785
if (this.state !=
WorkflowApplicationState
.Aborted)
807
this.state =
WorkflowApplicationState
.Aborted;
1108
if (!this.hasRaisedCompleted && this.state !=
WorkflowApplicationState
.Unloaded)
1355
this.state =
WorkflowApplicationState
.Runnable;
1897
if (this.state ==
WorkflowApplicationState
.Aborted)
2352
if (this.state ==
WorkflowApplicationState
.Aborted)
2376
this.state =
WorkflowApplicationState
.Paused;
2525
else if (this.state ==
WorkflowApplicationState
.Unloaded || this.state ==
WorkflowApplicationState
.Aborted)
2752
this.state =
WorkflowApplicationState
.Unloaded;
2822
if (this.state !=
WorkflowApplicationState
.Unloaded) // Unload on unload is a no-op
2903
if (this.state ==
WorkflowApplicationState
.Aborted)
2928
if (this.state ==
WorkflowApplicationState
.Unloaded)
3533
alreadyUnloaded = this.instance.state ==
WorkflowApplicationState
.Unloaded;
3783
if (this.instance.state ==
WorkflowApplicationState
.Aborted)
3902
this.instance.state =
WorkflowApplicationState
.Paused;
4596
if (this.application.state ==
WorkflowApplicationState
.Aborted)
5459
if (requiresRunnableInstance && instance.state !=
WorkflowApplicationState
.Runnable)