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)
2382properties.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)); 2444properties.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)); 2575properties.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)); 3844properties.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)
447SecurityMode securityMode = SecurityModeHelper.ToSecurityMode(mode); 448Fx.Assert(SecurityModeHelper.IsDefined(securityMode), string.Format("Invalid SecurityMode value: {0}.", securityMode.ToString()));
System\ServiceModel\NetTcpSecurity.cs (2)
26Fx.Assert(SecurityModeHelper.IsDefined(mode), string.Format("Invalid SecurityMode value: {0}.", mode.ToString())); 39if (!SecurityModeHelper.IsDefined(value))
System\ServiceModel\PeerSecuritySettings.cs (1)
43if (!SecurityModeHelper.IsDefined(value))
System\ServiceModel\WSHttpSecurity.cs (5)
42if (!SecurityModeHelper.IsDefined(value)) 113securityMode = SecurityModeHelper.ToSecurityMode(mode); 114Fx.Assert(SecurityModeHelper.IsDefined(securityMode), string.Format("Invalid SecurityMode value: {0}.", mode.ToString())); 123securityMode = SecurityModeHelper.ToSecurityMode(mode); 125Fx.Assert(SecurityModeHelper.IsDefined(securityMode), string.Format("Invalid SecurityMode value: {0}.", securityMode.ToString()));