21 references to NotAllowed
System.ServiceModel (12)
System\ServiceModel\Channels\ChannelRequirements.cs (5)
78case SessionMode.NotAllowed: 102case SessionMode.NotAllowed: 130case SessionMode.NotAllowed: 156case SessionMode.NotAllowed: 184case SessionMode.NotAllowed:
System\ServiceModel\Channels\ContextBindingElement.cs (1)
313&& endpoint.Contract.SessionMode != SessionMode.NotAllowed)
System\ServiceModel\Description\DispatcherBuilder.cs (1)
274if (contract.SessionMode == SessionMode.NotAllowed)
System\ServiceModel\Description\TypeLoader.cs (2)
187contract.SessionMode = SessionMode.NotAllowed; 202contract.SessionMode = SessionMode.NotAllowed;
System\ServiceModel\Description\WsdlExporter.cs (1)
1112else if (contract.SessionMode == SessionMode.NotAllowed)
System\ServiceModel\Description\WsdlImporter.cs (1)
1292contractDescription.SessionMode = SessionMode.NotAllowed;
System\ServiceModel\SessionMode.cs (1)
20return (sessionMode == SessionMode.NotAllowed ||
System.WorkflowServices (9)
System\ServiceModel\Description\DurableOperationAttribute.cs (1)
107operationDescription.DeclaringContract.SessionMode != SessionMode.NotAllowed);
System\ServiceModel\Description\DurableServiceAttribute.cs (3)
166if (serviceEndPoint.Contract.SessionMode != SessionMode.NotAllowed) 264if (serviceEndpoint.Contract.SessionMode != SessionMode.NotAllowed) 279if (serviceEndpoint.Contract.SessionMode == SessionMode.NotAllowed)
System\ServiceModel\Description\WorkflowServiceBehavior.cs (1)
329if (serviceEndPoint.Contract.SessionMode != SessionMode.NotAllowed)
System\ServiceModel\Dispatcher\DurableMessageDispatchInspector.cs (2)
40if (sessionMode != SessionMode.NotAllowed) 60if (sessionMode == SessionMode.NotAllowed || reply.Properties.ContainsKey(suppressContextOnReply))
System\Workflow\Activities\ValidationHelper.cs (1)
1052contractSessionMode != SessionMode.NotAllowed)
System\Workflow\Runtime\Hosting\ChannelManagerHelpers.cs (1)
292this.isSessionless = (ContractDescription.GetContract(contractType).SessionMode == SessionMode.NotAllowed);