25 instantiations of ServiceEnvironment
System.Workflow.Runtime (25)
Scheduler.cs (1)
141
using (new
ServiceEnvironment
(itemActivity))
System\Activities\Statements\Interop.cs (1)
383
using (new
ServiceEnvironment
(activityInstance))
System\Activities\Statements\InteropExecutor.cs (2)
235
this.serviceEnvironment = new
ServiceEnvironment
(this.RootActivity);
348
using (new
ServiceEnvironment
(this.rootActivity))
Tracking.cs (1)
300
using (new
ServiceEnvironment
(exec.RootActivity))
WorkflowExecutor.cs (19)
205
using (new
ServiceEnvironment
(this.rootActivity))
218
using (new
ServiceEnvironment
(this.rootActivity))
250
using (new
ServiceEnvironment
(this.rootActivity))
318
using (new
ServiceEnvironment
(this.rootActivity))
572
using (new
ServiceEnvironment
(this.rootActivity))
671
using (new
ServiceEnvironment
(this.rootActivity))
718
using (new
ServiceEnvironment
(this.rootActivity))
1007
using (new
ServiceEnvironment
(currentActivity))
1238
using (new
ServiceEnvironment
(this.RootActivity))
1283
using (new
ServiceEnvironment
(this.rootActivity))
1332
using (new
ServiceEnvironment
(this.rootActivity))
1465
using (new
ServiceEnvironment
(this.rootActivity))
1578
using (new
ServiceEnvironment
(this.rootActivity))
1639
using (new
ServiceEnvironment
(this.rootActivity))
1775
using (new
ServiceEnvironment
(this.rootActivity))
1892
using (new
ServiceEnvironment
(this.rootActivity))
2006
using (new
ServiceEnvironment
(this.rootActivity))
2583
using (new
ServiceEnvironment
(currentActivity))
2684
using (new
ServiceEnvironment
(this.rootActivity))
WorkflowStateRollbackService.cs (1)
102
using (new
ServiceEnvironment
(activity))
35 references to ServiceEnvironment
System.Workflow.Runtime (35)
AmbientEnvironment.cs (3)
118
Activity currentActivity =
ServiceEnvironment
.CurrentActivity;
130
Activity currentActivity =
ServiceEnvironment
.CurrentActivity;
142
Activity currentActivity =
ServiceEnvironment
.CurrentActivity;
System\Activities\Statements\InteropExecutor.cs (1)
55
ServiceEnvironment
serviceEnvironment;
WorkflowEnvironment.cs (2)
18
IWorkBatch currentBatch =
ServiceEnvironment
.WorkBatch;
34
Guid currentInstanceId =
ServiceEnvironment
.WorkflowInstanceId;
WorkflowExecutor.cs (29)
1225
if (!
ServiceEnvironment
.IsInServiceThread(InstanceId))
1236
if (lockedScheduler ||
ServiceEnvironment
.IsInServiceThread(InstanceId))
2818
if (!
ServiceEnvironment
.IsInServiceThread(this.InstanceId))
2833
if (!
ServiceEnvironment
.IsInServiceThread(this.InstanceId))
2848
if (!
ServiceEnvironment
.IsInServiceThread(this.InstanceId))
2857
if (!
ServiceEnvironment
.IsInServiceThread(this.InstanceId))
2868
if (!
ServiceEnvironment
.IsInServiceThread(this.InstanceId))
2876
if (!
ServiceEnvironment
.IsInServiceThread(this.InstanceId))
2882
if (!
ServiceEnvironment
.IsInServiceThread(this.InstanceId))
2890
if (!
ServiceEnvironment
.IsInServiceThread(this.InstanceId))
2896
if (!
ServiceEnvironment
.IsInServiceThread(this.InstanceId))
2902
if (!
ServiceEnvironment
.IsInServiceThread(this.InstanceId))
2908
if (!
ServiceEnvironment
.IsInServiceThread(this.InstanceId))
2914
if (!
ServiceEnvironment
.IsInServiceThread(this.InstanceId))
2927
if (!
ServiceEnvironment
.IsInServiceThread(this.InstanceId))
2933
if (!
ServiceEnvironment
.IsInServiceThread(this.InstanceId))
2939
if (!
ServiceEnvironment
.IsInServiceThread(this.InstanceId))
2951
if (!
ServiceEnvironment
.IsInServiceThread(this.InstanceId))
2957
if (!
ServiceEnvironment
.IsInServiceThread(this.InstanceId))
2963
if (!
ServiceEnvironment
.IsInServiceThread(this.InstanceId))
2969
if (!
ServiceEnvironment
.IsInServiceThread(this.InstanceId))
3013
if (!
ServiceEnvironment
.IsInServiceThread(this.InstanceId))
3039
if (!
ServiceEnvironment
.IsInServiceThread(this.InstanceId))
3063
if (!
ServiceEnvironment
.IsInServiceThread(this.InstanceId))
3076
if (!
ServiceEnvironment
.IsInServiceThread(this.InstanceId))
3087
WorkflowQueuingService queuingService =
ServiceEnvironment
.QueuingService;
3103
if (!
ServiceEnvironment
.IsInServiceThread(this.InstanceId))
3109
if (!
ServiceEnvironment
.IsInServiceThread(this.InstanceId))
3115
if (!
ServiceEnvironment
.IsInServiceThread(this.InstanceId))