BasicHttpBinding Constructor (BasicHttpSecurityMode)

Initializes a new instance of the BasicHttpBinding class with a specified type of security used by the binding.

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

public BasicHttpBinding(
	BasicHttpSecurityMode securityMode
)

Parameters

securityMode
Type: System.ServiceModel.BasicHttpSecurityMode
The value of BasicHttpSecurityMode that specifies the type of security that is used with the SOAP message and for the client.

The default value of BasicHttpSecurityMode is None, which specifies that the SOAP message is not secured and the client is not authenticated.


BasicHttpBinding transportSecurityBinding = new BasicHttpBinding(BasicHttpSecurityMode.Transport);


Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: