1 instantiation of ConcurrencyBehavior
System.ServiceModel.Primitives (1)
System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (1)
43
_concurrency = new
ConcurrencyBehavior
(dispatch);
20 references to ConcurrencyBehavior
System.ServiceModel.Primitives (20)
System\ServiceModel\Channels\ServiceChannel.cs (6)
752
ConcurrencyBehavior
.UnlockInstanceBeforeCallout(OperationContext.Current);
773
ConcurrencyBehavior
.LockInstanceAfterCallout(OperationContext.Current);
1841
ConcurrencyBehavior
.UnlockInstanceBeforeCallout(_operationContext);
1860
ConcurrencyBehavior
.LockInstanceAfterCallout(_operationContext);
1917
ConcurrencyBehavior
.LockInstanceAfterCallout(_operationContext);
1940
ConcurrencyBehavior
.LockInstanceAfterCallout(result._operationContext);
System\ServiceModel\Dispatcher\ChannelHandler.cs (1)
90
_isConcurrent =
ConcurrencyBehavior
.IsConcurrent(channelDispatcher, _hasSession);
System\ServiceModel\Dispatcher\ConcurrencyBehavior.cs (12)
107
ConcurrencyBehavior
.UnlockInstance(rpc.InstanceContext);
115
ConcurrencyBehavior
.UnlockInstance(operationContext.InstanceContext);
227
private Queue<
ConcurrencyBehavior
.IWaiter> _calloutMessageQueue;
228
private Queue<
ConcurrencyBehavior
.IWaiter> _newMessageQueue;
239
private
ConcurrencyBehavior
.IWaiter DequeueFrom(Queue<
ConcurrencyBehavior
.IWaiter> queue)
241
ConcurrencyBehavior
.IWaiter waiter = queue.Dequeue();
251
internal
ConcurrencyBehavior
.IWaiter DequeueWaiter()
264
internal void EnqueueNewMessage(
ConcurrencyBehavior
.IWaiter waiter)
268
_newMessageQueue = new Queue<
ConcurrencyBehavior
.IWaiter>();
274
internal void EnqueueCalloutMessage(
ConcurrencyBehavior
.IWaiter waiter)
278
_calloutMessageQueue = new Queue<
ConcurrencyBehavior
.IWaiter>();
System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (1)
15
private readonly
ConcurrencyBehavior
_concurrency;