19 references to RootActivity
System.Workflow.Runtime (19)
Scheduler.cs (4)
48this.highPriorityEntriesQueue = (Queue<SchedulableItem>)rootExec.RootActivity.GetValue(Scheduler.HighPriorityEntriesQueueProperty); 49this.normalPriorityEntriesQueue = (Queue<SchedulableItem>)rootExec.RootActivity.GetValue(Scheduler.NormalPriorityEntriesQueueProperty); 53rootExec.RootActivity.SetValue(Scheduler.HighPriorityEntriesQueueProperty, this.highPriorityEntriesQueue); 58rootExec.RootActivity.SetValue(Scheduler.NormalPriorityEntriesQueueProperty, this.normalPriorityEntriesQueue);
Tracking.cs (7)
111TrackingListenerBroker listenerBroker = (TrackingListenerBroker)exec.RootActivity.GetValue(WorkflowExecutor.TrackingListenerBrokerProperty); 177exec.RootActivity.SetValue(WorkflowExecutor.TrackingListenerBrokerProperty, listener.Broker); 184exec.RootActivity.SetValue(WorkflowExecutor.TrackingListenerBrokerProperty, new TrackingListenerBroker()); 300using (new ServiceEnvironment(exec.RootActivity)) 380Guid context = GetContext(exec.RootActivity), callerContext = Guid.Empty, callerParentContext = Guid.Empty; 464Guid context = GetContext(exec.RootActivity), callerContext = Guid.Empty, callerParentContext = Guid.Empty; 468TrackingListenerBroker trackingListenerBroker = (TrackingListenerBroker)exec.RootActivity.GetValue(WorkflowExecutor.TrackingListenerBrokerProperty);
WorkflowExecutor.cs (4)
433this.RootActivity.SetValue(WorkflowExecutor.IsIdleProperty, value); 876this.RootActivity.OnActivityExecutionContextUnload(this); 881this.RootActivity.Dispose(); 1238using (new ServiceEnvironment(this.RootActivity))
WorkflowRuntime.cs (2)
1272foreach (PropertyInfo property in _workflowDefinitionDispenser.GetOutputParameters(exec.RootActivity)) 1273args.OutputParameters.Add(property.Name, property.GetValue(exec.RootActivity, null));
WorkflowStateRollbackService.cs (2)
49this.workflowExecutor.RootActivity.Save(this.clonedInstanceStateStream); 93clonedRootActivity.SetValue(WorkflowExecutor.TrackingListenerBrokerProperty, workflowExecutor.RootActivity.GetValue(WorkflowExecutor.TrackingListenerBrokerProperty));