BasicHttpBinding Constructor (BasicHttpSecurityMode)
Collapse the table of content
Expand the table of content

BasicHttpBinding Constructor (BasicHttpSecurityMode)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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)

'Declaration
Public Sub New ( _
	securityMode As BasicHttpSecurityMode _
)

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.


			Dim transportSecurityBinding As New BasicHttpBinding(BasicHttpSecurityMode.Transport)


Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft