20 references to TransportWithMessageCredential
System.ServiceModel (20)
System\ServiceModel\Channels\PeerHelpers.cs (1)
664
SR.GetString(SR.ValueMustBeInRange, SecurityMode.None, SecurityMode.
TransportWithMessageCredential
)));
System\ServiceModel\Channels\PeerSecurityManager.cs (2)
141
if (security.Mode == SecurityMode.Transport || security.Mode == SecurityMode.
TransportWithMessageCredential
)
153
if (security.Mode == SecurityMode.Message || security.Mode == SecurityMode.
TransportWithMessageCredential
)
System\ServiceModel\NetTcpBinding.cs (3)
301
if (mode == SecurityMode.
TransportWithMessageCredential
)
315
Fx.Assert((mode == SecurityMode.Transport) || (mode == SecurityMode.
TransportWithMessageCredential
), "Unexpected SecurityMode value: " + mode);
430
if (this.security.Mode == SecurityMode.Message || this.security.Mode == SecurityMode.
TransportWithMessageCredential
)
System\ServiceModel\NetTcpSecurity.cs (4)
62
if (this.mode == SecurityMode.
TransportWithMessageCredential
)
90
if (mode == SecurityMode.
TransportWithMessageCredential
)
107
else if (this.mode == SecurityMode.
TransportWithMessageCredential
)
126
else if (mode == SecurityMode.
TransportWithMessageCredential
)
System\ServiceModel\PeerSecuritySettings.cs (4)
61
return this.Mode == SecurityMode.Transport || this.Mode == SecurityMode.
TransportWithMessageCredential
;
70
if (this.Mode == SecurityMode.Message || this.Mode == SecurityMode.
TransportWithMessageCredential
)
100
this.Mode = SecurityMode.
TransportWithMessageCredential
;
123
case SecurityMode.
TransportWithMessageCredential
:
System\ServiceModel\SecurityMode.cs (2)
21
value == SecurityMode.
TransportWithMessageCredential
);
35
return SecurityMode.
TransportWithMessageCredential
;
System\ServiceModel\WSHttpSecurity.cs (4)
78
if (this.mode == SecurityMode.
TransportWithMessageCredential
)
95
if (this.mode == SecurityMode.Message || this.mode == SecurityMode.
TransportWithMessageCredential
)
97
return this.messageSecurity.CreateSecurityBindingElement(this.Mode == SecurityMode.
TransportWithMessageCredential
, isReliableSessionEnabled, version);
115
if (!MessageSecurityOverHttp.TryCreate(sbe, securityMode == SecurityMode.
TransportWithMessageCredential
, isReliableSessionEnabled, out messageSecurity))