11 writes to SessionMode
System.ServiceModel (7)
System\ServiceModel\Channels\MsmqBindingElementBase.cs (1)
383
policyContext.Contract.
SessionMode
= SessionMode.Required;
System\ServiceModel\ComIntegration\ComPlusTypeLoader.cs (1)
80
contract.
SessionMode
= contractConfigElement.RequiresSession ? SessionMode.Required : SessionMode.Allowed;
System\ServiceModel\Description\TypeLoader.cs (3)
187
contract.
SessionMode
= SessionMode.NotAllowed;
202
contract.
SessionMode
= SessionMode.NotAllowed;
711
contractDescription.
SessionMode
= contractAttr.SessionMode;
System\ServiceModel\Description\WsdlImporter.cs (2)
1288
contractDescription.
SessionMode
= SessionMode.Required;
1292
contractDescription.
SessionMode
= SessionMode.NotAllowed;
System.ServiceModel.Activities (4)
System\ServiceModel\Activities\ContractInferenceHelper.cs (4)
97
SessionMode
= SessionMode.Allowed
114
SessionMode
= SessionMode.Allowed
140
SessionMode
= SessionMode.Allowed
198
SessionMode
= SessionMode.Allowed
32 references to SessionMode
System.ServiceModel (18)
System\ServiceModel\Administration\ContractInstanceProvider.cs (1)
58
contract.SetProperty(AdministrationStrings.SessionMode, contractDescription.
SessionMode
.ToString());
System\ServiceModel\Channels\ChannelRequirements.cs (1)
30
requirements.sessionMode = contractDescription.
SessionMode
;
System\ServiceModel\Channels\ContextBindingElement.cs (1)
313
&& endpoint.Contract.
SessionMode
!= SessionMode.NotAllowed)
System\ServiceModel\Channels\MsmqBindingElementBase.cs (1)
335
if (context.Contract.
SessionMode
== SessionMode.Required)
System\ServiceModel\ComIntegration\ComPlusServiceLoader.cs (1)
100
if (endpoint.Contract.
SessionMode
== SessionMode.Required)
System\ServiceModel\Description\ContractDescription.cs (1)
231
&& (this.
SessionMode
!= SessionMode.Required))
System\ServiceModel\Description\DispatcherBuilder.cs (2)
270
if (contract.
SessionMode
== SessionMode.Required)
274
if (contract.
SessionMode
== SessionMode.NotAllowed)
System\ServiceModel\Description\ServiceContractGenerator.cs (4)
424
if (context.Contract.
SessionMode
!= SessionMode.Allowed)
428
new CodeTypeReferenceExpression(typeof(SessionMode)), context.Contract.
SessionMode
.ToString())));
457
if ((operationDescription.DeclaringContract.
SessionMode
== SessionMode.Required) && operationDescription.IsTerminating)
461
if ((operationDescription.DeclaringContract.
SessionMode
== SessionMode.Required) && !operationDescription.IsInitiating)
System\ServiceModel\Description\TransactedBatchingBehavior.cs (2)
66
if (serviceEndpoint.Contract.
SessionMode
== SessionMode.Required)
72
if (serviceEndpoint.Contract.
SessionMode
== SessionMode.Required)
System\ServiceModel\Description\WsdlExporter.cs (3)
1108
if (contract.
SessionMode
== SessionMode.Required)
1112
else if (contract.
SessionMode
== SessionMode.NotAllowed)
1128
if (contract.
SessionMode
== SessionMode.Required)
System\ServiceModel\Dispatcher\TransactionValidationBehavior.cs (1)
338
return endpoint.Contract.
SessionMode
== SessionMode.Required;
System.ServiceModel.Activities (2)
System\ServiceModel\Activities\InternalSendMessage.cs (2)
3193
c1.
SessionMode
== c2.
SessionMode
&&
System.ServiceModel.Routing (2)
System\ServiceModel\Routing\RoutingBehavior.cs (2)
100
if (description.
SessionMode
== SessionMode.Required)
269
if (dispatchOperation.IsOneWay && contract.
SessionMode
== SessionMode.Required)
System.WorkflowServices (10)
System\ServiceModel\Description\DurableOperationAttribute.cs (1)
107
operationDescription.DeclaringContract.
SessionMode
!= SessionMode.NotAllowed);
System\ServiceModel\Description\DurableServiceAttribute.cs (5)
166
if (serviceEndPoint.Contract.
SessionMode
!= SessionMode.NotAllowed)
186
endpointDispatcher.DispatchRuntime.MessageInspectors.Add(new DurableMessageDispatchInspector(serviceEndPoint.Contract.
SessionMode
));
264
if (serviceEndpoint.Contract.
SessionMode
!= SessionMode.NotAllowed)
279
if (serviceEndpoint.Contract.
SessionMode
== SessionMode.NotAllowed)
301
serviceEndpoint.Contract.
SessionMode
,
System\ServiceModel\Description\WorkflowServiceBehavior.cs (3)
329
if (serviceEndPoint.Contract.
SessionMode
!= SessionMode.NotAllowed)
344
endPointDispatcher.DispatchRuntime.MessageInspectors.Add(new DurableMessageDispatchInspector(serviceEndPoint.Contract.
SessionMode
));
391
if (contract.
SessionMode
== SessionMode.Required)
System\Workflow\Runtime\Hosting\ChannelManagerHelpers.cs (1)
292
this.isSessionless = (ContractDescription.GetContract(contractType).
SessionMode
== SessionMode.NotAllowed);