BasicHttpMessageSecurityElement.ClientCredentialType 属性

定义

指定要与 BasicHttpMessageSecurityElement 类一起使用的客户端凭据的类型。

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

属性值

BasicHttpMessageCredentialType

BasicHttpMessageCredentialType。 默认值为“UserName”。

属性

适用于