18 references to SecurityModeHelper
System.ServiceModel (18)
System\ServiceModel\Configuration\NetMsmqSecurityElement.cs (1)
19
[ServiceModelEnumValidator(typeof(
SecurityModeHelper
))]
System\ServiceModel\Configuration\NetTcpSecurityElement.cs (1)
19
[ServiceModelEnumValidator(typeof(
SecurityModeHelper
))]
System\ServiceModel\Configuration\PeerSecurityElement.cs (1)
19
[ServiceModelEnumValidator(typeof(
SecurityModeHelper
))]
System\ServiceModel\Configuration\Properties.cs (4)
2382
properties.Add(new ConfigurationProperty("mode", typeof(System.ServiceModel.NetMsmqSecurityMode), System.ServiceModel.NetMsmqSecurityMode.Transport, null, new System.ServiceModel.Configuration.ServiceModelEnumValidator(typeof(System.ServiceModel.
SecurityModeHelper
)), System.Configuration.ConfigurationPropertyOptions.None));
2444
properties.Add(new ConfigurationProperty("mode", typeof(System.ServiceModel.SecurityMode), System.ServiceModel.SecurityMode.Transport, null, new System.ServiceModel.Configuration.ServiceModelEnumValidator(typeof(System.ServiceModel.
SecurityModeHelper
)), System.Configuration.ConfigurationPropertyOptions.None));
2575
properties.Add(new ConfigurationProperty("mode", typeof(System.ServiceModel.SecurityMode), System.ServiceModel.SecurityMode.Transport, null, new System.ServiceModel.Configuration.ServiceModelEnumValidator(typeof(System.ServiceModel.
SecurityModeHelper
)), System.Configuration.ConfigurationPropertyOptions.None));
3844
properties.Add(new ConfigurationProperty("mode", typeof(System.ServiceModel.SecurityMode), System.ServiceModel.SecurityMode.Message, null, new System.ServiceModel.Configuration.ServiceModelEnumValidator(typeof(System.ServiceModel.
SecurityModeHelper
)), System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\Configuration\WSHttpSecurityElement.cs (1)
19
[ServiceModelEnumValidator(typeof(
SecurityModeHelper
))]
System\ServiceModel\NetTcpBinding.cs (2)
447
SecurityMode securityMode =
SecurityModeHelper
.ToSecurityMode(mode);
448
Fx.Assert(
SecurityModeHelper
.IsDefined(securityMode), string.Format("Invalid SecurityMode value: {0}.", securityMode.ToString()));
System\ServiceModel\NetTcpSecurity.cs (2)
26
Fx.Assert(
SecurityModeHelper
.IsDefined(mode), string.Format("Invalid SecurityMode value: {0}.", mode.ToString()));
39
if (!
SecurityModeHelper
.IsDefined(value))
System\ServiceModel\PeerSecuritySettings.cs (1)
43
if (!
SecurityModeHelper
.IsDefined(value))
System\ServiceModel\WSHttpSecurity.cs (5)
42
if (!
SecurityModeHelper
.IsDefined(value))
113
securityMode =
SecurityModeHelper
.ToSecurityMode(mode);
114
Fx.Assert(
SecurityModeHelper
.IsDefined(securityMode), string.Format("Invalid SecurityMode value: {0}.", mode.ToString()));
123
securityMode =
SecurityModeHelper
.ToSecurityMode(mode);
125
Fx.Assert(
SecurityModeHelper
.IsDefined(securityMode), string.Format("Invalid SecurityMode value: {0}.", securityMode.ToString()));