BasicHttpMessageSecurity.ClientCredentialType 属性

定义

指定客户端用以进行身份验证的凭据的类型。

public:
 property System::ServiceModel::BasicHttpMessageCredentialType ClientCredentialType { System::ServiceModel::BasicHttpMessageCredentialType get(); void set(System::ServiceModel::BasicHttpMessageCredentialType value); };
public System.ServiceModel.BasicHttpMessageCredentialType ClientCredentialType { get; set; }
member this.ClientCredentialType : System.ServiceModel.BasicHttpMessageCredentialType with get, set
Public Property ClientCredentialType As BasicHttpMessageCredentialType

属性值

BasicHttpMessageCredentialType

BasicHttpMessageCredentialType 枚举的一个成员。 默认值是 UserName

示例

BasicHttpSecurity security = binding.Security;
BasicHttpMessageSecurity msgSecurity = security.Message;
Dim security As BasicHttpSecurity = binding.Security
Dim msgSecurity As BasicHttpMessageSecurity = security.Message

注解

返回值可以是下列枚举成员之一:

适用于