55 references to ConcurrencyMode
System.ServiceModel (35)
System\ServiceModel\CallbackBehaviorAttribute.cs (3)
23
ConcurrencyMode
concurrencyMode =
ConcurrencyMode
.Single;
79
public
ConcurrencyMode
ConcurrencyMode
System\ServiceModel\Channels\PeerService.cs (1)
37
ConcurrencyMode =
ConcurrencyMode
.Multiple,
System\ServiceModel\Channels\ServiceChannel.cs (1)
584
if ((dispatchBehavior != null) && (dispatchBehavior.ConcurrencyMode ==
ConcurrencyMode
.Single))
System\ServiceModel\Channels\SharedConnectionListener.cs (1)
305
[CallbackBehavior(ConcurrencyMode =
ConcurrencyMode
.Multiple)]
System\ServiceModel\ComIntegration\ComPlusServiceLoader.cs (1)
61
serviceBehavior.ConcurrencyMode =
ConcurrencyMode
.Multiple;
System\ServiceModel\ConcurrencyMode.cs (4)
18
static public bool IsDefined(
ConcurrencyMode
x)
21
x ==
ConcurrencyMode
.Single ||
22
x ==
ConcurrencyMode
.Reentrant ||
23
x ==
ConcurrencyMode
.Multiple ||
System\ServiceModel\Dispatcher\ChannelHandler.cs (1)
150
if (
ConcurrencyMode
.Multiple != endpointDispatcher.DispatchRuntime.ConcurrencyMode)
System\ServiceModel\Dispatcher\ConcurrencyBehavior.cs (7)
15
ConcurrencyMode
concurrencyMode;
36
internal static bool IsConcurrent(
ConcurrencyMode
concurrencyMode, bool ensureOrderedDispatch, bool hasSession, bool supportsTransactedBatch)
43
if (concurrencyMode !=
ConcurrencyMode
.Single)
77
if (endpointDispatcher.DispatchRuntime.ConcurrencyMode !=
ConcurrencyMode
.Single)
98
if (this.concurrencyMode !=
ConcurrencyMode
.Multiple)
114
if (this.concurrencyMode ==
ConcurrencyMode
.Reentrant)
123
if (this.concurrencyMode !=
ConcurrencyMode
.Multiple)
System\ServiceModel\Dispatcher\DispatchRuntime.cs (3)
27
ConcurrencyMode
concurrencyMode;
155
public
ConcurrencyMode
ConcurrencyMode
757
if (this.concurrencyMode !=
ConcurrencyMode
.Single && this.ensureOrderedDispatch)
System\ServiceModel\Dispatcher\InstanceBehavior.cs (1)
41
this.isSynchronized = (dispatch.ConcurrencyMode !=
ConcurrencyMode
.Multiple);
System\ServiceModel\Dispatcher\TransactionBehavior.cs (2)
34
this.isConcurrent = (dispatch.ConcurrencyMode ==
ConcurrencyMode
.Multiple ||
35
dispatch.ConcurrencyMode ==
ConcurrencyMode
.Reentrant);
System\ServiceModel\Dispatcher\TransactionValidationBehavior.cs (1)
316
return (attribute.ConcurrencyMode ==
ConcurrencyMode
.Single);
System\ServiceModel\PeerResolvers\CustomPeerResolverService.cs (1)
15
[ServiceBehavior(UseSynchronizationContext = false, InstanceContextMode = InstanceContextMode.Single, ConcurrencyMode =
ConcurrencyMode
.Multiple)]
System\ServiceModel\Security\NegotiationTokenAuthenticator.cs (1)
1000
endpointDispatcher.DispatchRuntime.ConcurrencyMode =
ConcurrencyMode
.Multiple;
System\ServiceModel\Security\SecuritySessionSecurityTokenAuthenticator.cs (1)
1189
endpointDispatcher.DispatchRuntime.ConcurrencyMode =
ConcurrencyMode
.Multiple;
System\ServiceModel\Security\WSTrustServiceContract.cs (1)
43
[ServiceBehavior(Name = WSTrustServiceContractConstants.ServiceBehaviorName, Namespace = WSTrustServiceContractConstants.Namespace, InstanceContextMode = InstanceContextMode.Single, ConcurrencyMode =
ConcurrencyMode
.Multiple)]
System\ServiceModel\ServiceBehaviorAttribute.cs (5)
25
ConcurrencyMode
concurrencyMode =
ConcurrencyMode
.Single;
153
[DefaultValue(
ConcurrencyMode
.Single)]
154
public
ConcurrencyMode
ConcurrencyMode
350
if (this.concurrencyMode !=
ConcurrencyMode
.Single && this.ensureOrderedDispatch)
System.ServiceModel.Activities (2)
System\ServiceModel\Activities\Description\WorkflowInstanceManagementBehavior.cs (1)
210
dispatchRuntime.ConcurrencyMode =
ConcurrencyMode
.Multiple;
System\ServiceModel\Activities\Description\WorkflowServiceBehavior.cs (1)
63
dispatchRuntime.ConcurrencyMode =
ConcurrencyMode
.Multiple;
System.ServiceModel.Discovery (3)
System\ServiceModel\Discovery\AnnouncementService.cs (1)
14
[ServiceBehavior(InstanceContextMode = InstanceContextMode.Single, ConcurrencyMode =
ConcurrencyMode
.Multiple)]
System\ServiceModel\Discovery\DiscoveryCallbackBehavior.cs (1)
18
this.innerCallbackBehavior.ConcurrencyMode =
ConcurrencyMode
.Multiple;
System\ServiceModel\Discovery\ServiceDiscoveryBehavior.cs (1)
140
dispatchRuntime.ConcurrencyMode =
ConcurrencyMode
.Multiple;
System.ServiceModel.Routing (2)
System\ServiceModel\Routing\RoutingBehavior.cs (2)
53
dispatchRuntime.ConcurrencyMode =
ConcurrencyMode
.Single;
271
dispatchOperation.Parent.ConcurrencyMode =
ConcurrencyMode
.Single;
System.Web.Extensions (3)
ApplicationServices\AuthenticationService.cs (1)
26
ServiceBehavior(Namespace="http://asp.net/ApplicationServices/v200", InstanceContextMode = InstanceContextMode.Single, ConcurrencyMode =
ConcurrencyMode
.Multiple)
ApplicationServices\ProfileService.cs (1)
23
[ServiceBehavior(Namespace="http://asp.net/ApplicationServices/v200", InstanceContextMode = InstanceContextMode.Single, ConcurrencyMode =
ConcurrencyMode
.Multiple)]
ApplicationServices\RoleService.cs (1)
27
ServiceBehavior(Namespace="http://asp.net/ApplicationServices/v200", InstanceContextMode = InstanceContextMode.Single, ConcurrencyMode =
ConcurrencyMode
.Multiple)
System.WorkflowServices (10)
System\ServiceModel\Description\DurableServiceAttribute.cs (2)
241
if (serviceBehavior.ConcurrencyMode ==
ConcurrencyMode
.Multiple)
248
if (serviceBehavior.ConcurrencyMode ==
ConcurrencyMode
.Reentrant
System\ServiceModel\Description\WorkflowServiceBehavior.cs (1)
297
dispatchRuntime.ConcurrencyMode =
ConcurrencyMode
.Single;
System\ServiceModel\Dispatcher\DurableRuntimeValidator.cs (5)
12
ConcurrencyMode
concurrencyMode;
24
public
ConcurrencyMode
ConcurrencyMode
50
if (this.concurrencyMode ==
ConcurrencyMode
.Multiple)
57
if (this.saveStateInOperationTransaction && this.concurrencyMode !=
ConcurrencyMode
.Single)
64
if (this.concurrencyMode ==
ConcurrencyMode
.Reentrant
System\ServiceModel\Dispatcher\ServiceDurableInstance.cs (2)
101
ConcurrencyMode
concurrencyMode = this.runtimeValidator.ConcurrencyMode;
103
if (concurrencyMode !=
ConcurrencyMode
.Single)