4 references to IsDefined
System.ServiceModel (4)
System\ServiceModel\NetMsmqBinding.cs (2)
34if (!NetMsmqSecurityModeHelper.IsDefined(securityMode)) 307Fx.Assert(NetMsmqSecurityModeHelper.IsDefined(netMsmqSecurityMode), string.Format("Invalid NetMsmqSecurityMode value: {0}.", netMsmqSecurityMode.ToString()));
System\ServiceModel\NetMsmqSecurity.cs (2)
31Fx.Assert(NetMsmqSecurityModeHelper.IsDefined(mode), string.Format("Invalid NetMsmqSecurityMode value: {0}.", mode.ToString())); 44if (!NetMsmqSecurityModeHelper.IsDefined(value))