8 writes to Mode
System.ServiceModel (8)
System\ServiceModel\Configuration\PeerSecurityElement.cs (1)
38
security.
Mode
= this.Mode;
System\ServiceModel\NetPeerTcpBinding.cs (2)
126
this.Security.
Mode
= transport.Security.Mode;
198
transport.Security.
Mode
= this.Security.Mode;
System\ServiceModel\PeerSecuritySettings.cs (5)
85
this.
Mode
= SecurityMode.Transport;
91
this.
Mode
= SecurityMode.None;
94
this.
Mode
= SecurityMode.Transport;
97
this.
Mode
= SecurityMode.Message;
100
this.
Mode
= SecurityMode.TransportWithMessageCredential;
16 references to Mode
System.ServiceModel (16)
System\ServiceModel\Administration\EndpointInstanceProvider.cs (1)
268
securitySettings.SetProperty(AdministrationStrings.PeerSecurityMode, peer.Security.
Mode
.ToString());
System\ServiceModel\Channels\PeerSecurityManager.cs (4)
141
if (security.
Mode
== SecurityMode.Transport || security.
Mode
== SecurityMode.TransportWithMessageCredential)
153
if (security.
Mode
== SecurityMode.Message || security.
Mode
== SecurityMode.TransportWithMessageCredential)
System\ServiceModel\Configuration\PeerSecurityElement.cs (3)
39
if (security.
Mode
!= SecurityMode.None)
51
SetPropertyValueIfNotDefaultValue(ConfigurationStrings.Mode, security.
Mode
);
52
if (security.
Mode
!= SecurityMode.None)
System\ServiceModel\NetPeerTcpBinding.cs (2)
126
this.Security.Mode = transport.Security.
Mode
;
198
transport.Security.Mode = this.Security.
Mode
;
System\ServiceModel\PeerSecuritySettings.cs (6)
61
return this.
Mode
== SecurityMode.Transport || this.
Mode
== SecurityMode.TransportWithMessageCredential;
70
if (this.
Mode
== SecurityMode.Message || this.
Mode
== SecurityMode.TransportWithMessageCredential)
112
switch (this.
Mode
)
148
return this.
Mode
!= DefaultMode;