1 instantiation of WorkflowQueuingService
System.Workflow.Runtime (1)
WorkflowExecutor.cs (1)
2112
transactionalProperties.LocalQueuingService = new
WorkflowQueuingService
(this.qService);
54 references to WorkflowQueuingService
System.Workflow.Runtime (32)
AmbientEnvironment.cs (2)
138
internal static
WorkflowQueuingService
QueuingService
158
WorkflowQueuingService
queuingService = transactionalProperties.LocalQueuingService;
System\Activities\Statements\InteropExecutor.cs (2)
51
WorkflowQueuingService
workflowQueuingService;
598
if (serviceType == typeof(
WorkflowQueuingService
))
TransactionalProperties.cs (1)
30
internal
WorkflowQueuingService
LocalQueuingService;
WorkflowExecutor.cs (6)
63
private
WorkflowQueuingService
qService;
105
DependencyProperty.RegisterAsKnown(
WorkflowQueuingService
.LocalPersistedQueueStatesProperty, (byte)63, DependencyProperty.PropertyValidity.Reexecute);
106
DependencyProperty.RegisterAsKnown(
WorkflowQueuingService
.RootPersistedQueueStatesProperty, (byte)64, DependencyProperty.PropertyValidity.Reexecute);
2336
WorkflowQueuingService
queuingService = transactionalProperties.LocalQueuingService;
3085
else if (serviceType == typeof(
WorkflowQueuingService
))
3087
WorkflowQueuingService
queuingService = ServiceEnvironment.QueuingService;
WorkflowQueue.cs (3)
17
WorkflowQueuingService
qService;
19
internal WorkflowQueue(
WorkflowQueuingService
qService, IComparable queueName)
149
public
WorkflowQueuingService
QueuingService
WorkflowQueuingService.cs (18)
27
List<
WorkflowQueuingService
> messageArrivalEventHandlers;
30
WorkflowQueuingService
rootQueuingService;
35
public readonly static DependencyProperty PendingMessagesProperty = DependencyProperty.RegisterAttached("PendingMessages", typeof(Queue), typeof(
WorkflowQueuingService
), new PropertyMetadata(DependencyPropertyOptions.NonSerialized));
38
internal static DependencyProperty RootPersistedQueueStatesProperty = DependencyProperty.RegisterAttached("RootPersistedQueueStates", typeof(Dictionary<IComparable, EventQueueState>), typeof(
WorkflowQueuingService
));
39
internal static DependencyProperty LocalPersistedQueueStatesProperty = DependencyProperty.RegisterAttached("LocalPersistedQueueStates", typeof(Dictionary<IComparable, EventQueueState>), typeof(
WorkflowQueuingService
));
53
this.rootWorkflowExecutor.RootActivity.SetValue(
WorkflowQueuingService
.PendingMessagesProperty, this.pendingQueueState.Messages);
54
this.persistedQueueStates = (Dictionary<IComparable, EventQueueState>)this.rootWorkflowExecutor.RootActivity.GetValue(
WorkflowQueuingService
.RootPersistedQueueStatesProperty);
58
this.rootWorkflowExecutor.RootActivity.SetValue(
WorkflowQueuingService
.RootPersistedQueueStatesProperty, this.persistedQueueStates);
65
internal WorkflowQueuingService(
WorkflowQueuingService
copyFromQueuingService)
69
this.rootWorkflowExecutor.RootActivity.SetValue(
WorkflowQueuingService
.PendingMessagesProperty, this.pendingQueueState.Messages);
71
this.rootWorkflowExecutor.RootActivity.SetValue(
WorkflowQueuingService
.LocalPersistedQueueStatesProperty, this.persistedQueueStates);
323
WorkflowQueuingService
qService = messageArrivalEventHandlers[i];
342
WorkflowQueuingService
service = this.messageArrivalEventHandlers[i];
557
private void AddMessageArrivedEventHandler(
WorkflowQueuingService
handler)
562
this.messageArrivalEventHandlers = new List<
WorkflowQueuingService
>();
567
private void RemoveMessageArrivedEventHandler(
WorkflowQueuingService
handler)
692
rootWorkflowExecutor.RootActivity.SetValue(
WorkflowQueuingService
.RootPersistedQueueStatesProperty, persistedQueueStatesSnapshot);
693
rootWorkflowExecutor.RootActivity.SetValue(
WorkflowQueuingService
.PendingMessagesProperty, pendingQueueStateSnapshot.Messages);
System.WorkflowServices (22)
System\Workflow\Activities\ReceiveActivity.cs (22)
441
WorkflowQueuingService
queuingService = executionContext.GetService<
WorkflowQueuingService
>();
446
typeof(
WorkflowQueuingService
))));
593
WorkflowQueuingService
queuingService = parentContext.GetService<
WorkflowQueuingService
>();
598
typeof(
WorkflowQueuingService
))));
820
WorkflowQueuingService
queuingService = executionContext.GetService<
WorkflowQueuingService
>();
825
typeof(
WorkflowQueuingService
))));
863
WorkflowQueuingService
queuingService = executionContext.GetService<
WorkflowQueuingService
>();
868
typeof(
WorkflowQueuingService
))));
996
WorkflowQueuingService
queuingService = executionContext.GetService<
WorkflowQueuingService
>();
1001
typeof(
WorkflowQueuingService
))));
1277
WorkflowQueuingService
queuingService =
1278
provider.GetService(typeof(
WorkflowQueuingService
)) as
WorkflowQueuingService
;
1284
typeof(
WorkflowQueuingService
))));
1632
WorkflowQueuingService
queuingService = executionContext.GetService<
WorkflowQueuingService
>();
1636
new InvalidOperationException(SR2.GetString(SR2.General_MissingService, typeof(
WorkflowQueuingService
))));