1 write to activeOperations
System.ServiceModel.Discovery (1)
System\ServiceModel\Discovery\AsyncOperationLifetimeManager.cs (1)
25
this.
activeOperations
= new Dictionary<UniqueId, AsyncOperationContext>();
13 references to activeOperations
System.ServiceModel.Discovery (13)
System\ServiceModel\Discovery\AsyncOperationLifetimeManager.cs (13)
54
if (this.
activeOperations
.ContainsKey(context.OperationId))
58
this.
activeOperations
.Add(context.OperationId, context);
80
retValue = new AsyncOperationContext[this.
activeOperations
.Count];
81
this.
activeOperations
.Values.CopyTo(retValue, 0);
82
this.
activeOperations
.Clear();
100
success = this.
activeOperations
.TryGetValue(operationId, out context);
129
if ((this.
activeOperations
.TryGetValue(operationId, out context)) &&
132
this.
activeOperations
.Remove(operationId);
133
setCloseHandle = (this.closeHandle != null) && (this.
activeOperations
.Count == 0);
157
foreach (AsyncOperationContext value in this.
activeOperations
.Values)
176
this.
activeOperations
.Remove(context.OperationId);
177
setCloseHandle = (this.closeHandle != null) && (this.
activeOperations
.Count == 0);
215
setCloseHandle = (this.
activeOperations
.Count == 0);