11 references to AsynchronousListeners
System.Workflow.Runtime (11)
EventQueueState.cs (1)
72this.asynchronousListeners.AddRange(copyFromState.AsynchronousListeners.ToArray());
WorkflowExecutor.cs (1)
1345List<ActivityExecutorDelegateInfo<QueueEventArgs>> listeners = qService.GetQueue(name).AsynchronousListeners;
WorkflowQueue.cs (6)
36qState.AsynchronousListeners.Add(subscriber); 39if (qState.AsynchronousListeners.Count == 1) 48bool removed = qService.GetQueueState(this.queueName).AsynchronousListeners.Remove(subscriber); 74qState.AsynchronousListeners.Add(subscriber); 77if (qState.AsynchronousListeners.Count == 1) 89bool removed = qService.GetQueueState(this.queueName).AsynchronousListeners.Remove(subscriber);
WorkflowQueuingService.cs (3)
309if (qState.AsynchronousListeners.Count != 0 || IsNestedListenersExist(queueName)) 327queueState.AsynchronousListeners.Count != 0) 363foreach (ActivityExecutorDelegateInfo<QueueEventArgs> subscriber in qState.AsynchronousListeners)