Aracılığıyla paylaş


BasicHttpMessageCredentialType Enumeration

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Enumerates credential types that the client can authenticate with when security is enabled in the BasicHttpBinding binding.

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

Syntax

'Declaration
Public Enumeration BasicHttpMessageCredentialType
public enum BasicHttpMessageCredentialType

Members

Member name Description
Supported by Silverlight for Windows Phone UserName Indicates that the client be authenticated using a username credential.
Supported by Silverlight for Windows Phone Certificate Present only in Silverlight for Windows Phone, but not supported.

Remarks

The client credential in the username case must be specified using the UserName property of the ClientCredentials class.

Version Information

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

Platforms

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

See Also

Reference