29 references to NetMsmqSecurityMode
System.ServiceModel (29)
System\ServiceModel\Configuration\NetMsmqSecurityElement.cs (2)
20public NetMsmqSecurityMode Mode 22get { return (NetMsmqSecurityMode)base[ConfigurationStrings.Mode]; }
System\ServiceModel\Configuration\Properties.cs (2)
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));
System\ServiceModel\NetMsmqBinding.cs (5)
32public NetMsmqBinding(NetMsmqSecurityMode securityMode) 35throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidEnumArgumentException("mode", (int)securityMode, typeof(NetMsmqSecurityMode))); 289if (this.security.Mode == NetMsmqSecurityMode.Message || this.security.Mode == NetMsmqSecurityMode.Both) 306NetMsmqSecurityMode netMsmqSecurityMode = NetMsmqSecurityModeHelper.ToSecurityMode(mode);
System\ServiceModel\NetMsmqSecurity.cs (9)
13internal const NetMsmqSecurityMode DefaultMode = NetMsmqSecurityMode.Transport; 15NetMsmqSecurityMode mode; 24internal NetMsmqSecurity(NetMsmqSecurityMode mode) 29NetMsmqSecurity(NetMsmqSecurityMode mode, MsmqTransportSecurity transportSecurity, MessageSecurityOverMsmq messageSecurity) 39public NetMsmqSecurityMode Mode 76if (this.mode == NetMsmqSecurityMode.Transport || this.mode == NetMsmqSecurityMode.Both) 106internal static bool TryCreate(SecurityBindingElement sbe, NetMsmqSecurityMode mode, out NetMsmqSecurity security)
System\ServiceModel\NetMsmqSecurityMode.cs (11)
17internal static bool IsDefined(NetMsmqSecurityMode value) 19return (value == NetMsmqSecurityMode.Transport 20|| value == NetMsmqSecurityMode.Message 21|| value == NetMsmqSecurityMode.Both 22|| value == NetMsmqSecurityMode.None); 25internal static NetMsmqSecurityMode ToSecurityMode(UnifiedSecurityMode value) 30return NetMsmqSecurityMode.None; 32return NetMsmqSecurityMode.Transport; 34return NetMsmqSecurityMode.Message; 36return NetMsmqSecurityMode.Both; 38return (NetMsmqSecurityMode)value;