30 references to Required
System.ServiceModel (25)
System\ServiceModel\Activation\IConnectionRegister.cs (2)
12
[ServiceContract(SessionMode = SessionMode.
Required
, CallbackContract = typeof(IConnectionDuplicator))]
26
[ServiceContract(SessionMode = SessionMode.
Required
, CallbackContract = typeof(IConnectionDuplicator))]
System\ServiceModel\Channels\ChannelRequirements.cs (5)
73
case SessionMode.
Required
:
96
case SessionMode.
Required
:
123
case SessionMode.
Required
:
150
case SessionMode.
Required
:
177
case SessionMode.
Required
:
System\ServiceModel\Channels\MsmqBindingElementBase.cs (2)
335
if (context.Contract.SessionMode == SessionMode.
Required
)
383
policyContext.Contract.SessionMode = SessionMode.
Required
;
System\ServiceModel\Channels\PeerServiceMessageContracts.cs (3)
134
SessionMode = SessionMode.
Required
,
172
SessionMode = SessionMode.
Required
,
180
SessionMode = SessionMode.
Required
,
System\ServiceModel\ComIntegration\ComPlusServiceLoader.cs (1)
100
if (endpoint.Contract.SessionMode == SessionMode.
Required
)
System\ServiceModel\ComIntegration\ComPlusTypeLoader.cs (1)
80
contract.SessionMode = contractConfigElement.RequiresSession ? SessionMode.
Required
: SessionMode.Allowed;
System\ServiceModel\Description\ContractDescription.cs (1)
231
&& (this.SessionMode != SessionMode.
Required
))
System\ServiceModel\Description\DispatcherBuilder.cs (1)
270
if (contract.SessionMode == SessionMode.
Required
)
System\ServiceModel\Description\ServiceContractGenerator.cs (2)
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 (2)
1108
if (contract.SessionMode == SessionMode.
Required
)
1128
if (contract.SessionMode == SessionMode.
Required
)
System\ServiceModel\Description\WsdlImporter.cs (1)
1288
contractDescription.SessionMode = SessionMode.
Required
;
System\ServiceModel\Dispatcher\TransactionValidationBehavior.cs (1)
338
return endpoint.Contract.SessionMode == SessionMode.
Required
;
System\ServiceModel\SessionMode.cs (1)
22
sessionMode == SessionMode.
Required
);
System.ServiceModel.Routing (4)
System\ServiceModel\Routing\IDuplexSessionRouter.cs (1)
11
[ServiceContract(Namespace = RoutingUtilities.RoutingNamespace, SessionMode = SessionMode.
Required
, CallbackContract = typeof(IDuplexRouterCallback))]
System\ServiceModel\Routing\ISimplexSessionRouter.cs (1)
11
[ServiceContract(Namespace = RoutingUtilities.RoutingNamespace, SessionMode = SessionMode.
Required
)]
System\ServiceModel\Routing\RoutingBehavior.cs (2)
100
if (description.SessionMode == SessionMode.
Required
)
269
if (dispatchOperation.IsOneWay && contract.SessionMode == SessionMode.
Required
)
System.WorkflowServices (1)
System\ServiceModel\Description\WorkflowServiceBehavior.cs (1)
391
if (contract.SessionMode == SessionMode.
Required
)