37 references to SessionMode
dotnet-svcutil-lib (37)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ChannelRequirements.cs (16)
18
public
SessionMode
sessionMode;
66
case
SessionMode
.Allowed:
72
case
SessionMode
.Required:
77
case
SessionMode
.NotAllowed:
87
case
SessionMode
.Allowed:
95
case
SessionMode
.Required:
101
case
SessionMode
.NotAllowed:
111
case
SessionMode
.Allowed:
121
case
SessionMode
.Required:
128
case
SessionMode
.NotAllowed:
140
case
SessionMode
.Allowed:
148
case
SessionMode
.Required:
154
case
SessionMode
.NotAllowed:
165
case
SessionMode
.Allowed:
175
case
SessionMode
.Required:
182
case
SessionMode
.NotAllowed:
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ContractDescription.cs (4)
24
private
SessionMode
_sessionMode;
126
[DefaultValue(
SessionMode
.Allowed)]
127
public
SessionMode
SessionMode
231
&& (this.SessionMode !=
SessionMode
.Required))
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceContractGenerator.cs (4)
370
if (context.Contract.SessionMode !=
SessionMode
.Allowed)
374
new CodeTypeReferenceExpression(typeof(
SessionMode
)), context.Contract.SessionMode.ToString())));
403
if ((operationDescription.DeclaringContract.SessionMode ==
SessionMode
.Required) && operationDescription.IsTerminating)
407
if ((operationDescription.DeclaringContract.SessionMode ==
SessionMode
.Required) && !operationDescription.IsInitiating)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\TypeLoader.cs (2)
187
contract.SessionMode =
SessionMode
.NotAllowed;
202
contract.SessionMode =
SessionMode
.NotAllowed;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlExporter.cs (3)
1106
if (contract.SessionMode ==
SessionMode
.Required)
1110
else if (contract.SessionMode ==
SessionMode
.NotAllowed)
1126
if (contract.SessionMode ==
SessionMode
.Required)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlImporter.cs (2)
1282
contractDescription.SessionMode =
SessionMode
.Required;
1286
contractDescription.SessionMode =
SessionMode
.NotAllowed;
FrameworkFork\System.ServiceModel\System\ServiceModel\ServiceContractAttribute.cs (2)
18
private
SessionMode
_sessionMode;
89
public
SessionMode
SessionMode
FrameworkFork\System.ServiceModel\System\ServiceModel\SessionMode.cs (4)
16
public static bool IsDefined(
SessionMode
sessionMode)
18
return (sessionMode ==
SessionMode
.NotAllowed ||
19
sessionMode ==
SessionMode
.Allowed ||
20
sessionMode ==
SessionMode
.Required);