WSDualHttpSecurityMode Enumeration


Specifies the different security modes for 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 WSDualHttpSecurity.Message property become effective.


No security is used.

This enumeration defines the security modes that the System.ServiceModel.WSDualHttpBinding supports.

The following code shows how to set WSDualHttpSecurity.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