Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
WSDualHttpSecurityMode Enumeration
Collapse the table of content
Expand the table of content

WSDualHttpSecurityMode Enumeration

Specifies the different security modes for WsDualHttpBinding.

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

public enum WSDualHttpSecurityMode

Member nameDescription
MessageSOAP message-level security is used and the settings in the Message property become effective.
NoneNo security is used.

This enumeration defines the security modes that the WsDualHttpBinding supports.

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft