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