BasicHttpMessageSecurityElement.ClientCredentialType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the type of client credential to use with the BasicHttpMessageSecurityElement class.
public:
property System::ServiceModel::BasicHttpMessageCredentialType ClientCredentialType { System::ServiceModel::BasicHttpMessageCredentialType get(); void set(System::ServiceModel::BasicHttpMessageCredentialType value); };
[System.Configuration.ConfigurationProperty("clientCredentialType", DefaultValue=System.ServiceModel.BasicHttpMessageCredentialType.UserName)]
public System.ServiceModel.BasicHttpMessageCredentialType ClientCredentialType { get; set; }
[<System.Configuration.ConfigurationProperty("clientCredentialType", DefaultValue=System.ServiceModel.BasicHttpMessageCredentialType.UserName)>]
member this.ClientCredentialType : System.ServiceModel.BasicHttpMessageCredentialType with get, set
Public Property ClientCredentialType As BasicHttpMessageCredentialType
Property Value
A BasicHttpMessageCredentialType. The default is UserName.
- Attributes
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.