WSDualHttpSecurityMode Enumeration
Collapse the table of content
Expand the table of content

WSDualHttpSecurityMode Enumeration


Specifies the different security modes for T:System.ServiceModel.WsDualHttpBinding.

Namespace:   System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public enum WSDualHttpSecurityMode

Member nameDescription

SOAP message-level security is used and the settings in the P:System.ServiceModel.WsDualHttpSecurity.Message property become effective.


No security is used.

This enumeration defines the security modes that the T:System.ServiceModel.WsDualHttpBinding supports.

Legacy Code Example

The following code shows how to set Mode to a member of this enumeration.

WSDualHttpBinding binding3 = new WSDualHttpBinding();
binding3.Security.Mode = WSDualHttpSecurityMode.None;
binding3.Security.Message.AlgorithmSuite = SecurityAlgorithmSuite.Basic256;
binding3.MessageEncoding = WSMessageEncoding.Mtom;

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft