7 writes to Mode
System.ServiceModel.Http (6)
System\ServiceModel\BasicHttpBinding.cs (1)
25
_basicHttpSecurity.
Mode
= securityMode;
System\ServiceModel\BasicHttpSecurity.cs (1)
25
Mode
= mode;
System\ServiceModel\BasicHttpsSecurity.cs (3)
31
Mode
= basicHttpSecurityMode,
51
BasicHttpSecurity.
Mode
= BasicHttpsSecurityModeHelper.ToBasicHttpSecurityMode(value);
91
Mode
= BasicHttpsSecurityModeHelper.ToBasicHttpSecurityMode(basicHttpsSecurity.Mode)
System\ServiceModel\NetHttpBinding.cs (1)
27
_basicHttpSecurity.
Mode
= securityMode;
System.ServiceModel.Http.Tests (1)
ServiceModel\BasicHttpSecurityTest.cs (1)
22
Assert.Throws<PlatformNotSupportedException>(() => security.
Mode
= value);
15 references to Mode
System.ServiceModel.Http (15)
System\ServiceModel\BasicHttpBinding.cs (2)
54
if ((BasicHttpSecurity.
Mode
== BasicHttpSecurityMode.Transport ||
55
BasicHttpSecurity.
Mode
== BasicHttpSecurityMode.TransportCredentialOnly) &&
System\ServiceModel\BasicHttpsBinding.cs (2)
53
if ((BasicHttpSecurity.
Mode
== BasicHttpSecurityMode.Transport ||
54
BasicHttpSecurity.
Mode
== BasicHttpSecurityMode.TransportCredentialOnly) &&
System\ServiceModel\BasicHttpsSecurity.cs (2)
41
return BasicHttpsSecurityModeHelper.ToBasicHttpsSecurityMode(BasicHttpSecurity.
Mode
);
105
Mode = BasicHttpsSecurityModeHelper.ToBasicHttpsSecurityMode(basicHttpSecurity.
Mode
)
System\ServiceModel\HttpBindingBase.cs (5)
271
if (basicHttpSecurity.
Mode
== BasicHttpSecurityMode.Transport || basicHttpSecurity.
Mode
== BasicHttpSecurityMode.TransportWithMessageCredential)
276
else if (basicHttpSecurity.
Mode
== BasicHttpSecurityMode.TransportCredentialOnly)
304
BasicHttpSecurityMode mode = security.
Mode
;
311
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SR.Format(SR.UnsupportedSecuritySetting, nameof(security.
Mode
), mode)));
System\ServiceModel\NetHttpBinding.cs (2)
94
if ((BasicHttpSecurity.
Mode
== BasicHttpSecurityMode.Transport ||
95
BasicHttpSecurity.
Mode
== BasicHttpSecurityMode.TransportCredentialOnly) &&
System\ServiceModel\NetHttpsBinding.cs (2)
86
if ((BasicHttpSecurity.
Mode
== BasicHttpSecurityMode.Transport ||
87
BasicHttpSecurity.
Mode
== BasicHttpSecurityMode.TransportCredentialOnly) &&