Mode Property
Collapse the table of content
Expand the table of content

BasicHttpSecurity.Mode Property

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

Gets or sets the mode of security for a client configured with a BasicHttpBinding.

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

'Declaration
Public Property Mode As BasicHttpSecurityMode

Property Value

Type: System.ServiceModel.BasicHttpSecurityMode
A value in the BasicHttpSecurityMode enumeration. The default value for this property is None.

ExceptionCondition
ArgumentOutOfRangeException

The value is not a legal value for BasicHttpSecurityMode.

The security mode values available to Windows Phone clients configured with the BasicHttpBinding are None, Transport, TransportCredentialOnly, and TransportWithMessageCredential.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft