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.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Property Value
Type: System.ServiceModel.BasicHttpSecurityModeA value in the BasicHttpSecurityMode enumeration. The default value for this property is None.
| Exception | Condition |
|---|---|
| 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.
Show: