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

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
Message

SOAP message-level security is used and the settings in the WSDualHttpSecurity.Message property become effective.

None

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
Show:
© 2016 Microsoft