MessageSecurityOverHttpElement.ClientCredentialType 属性

定义

指定要在使用基于消息的安全或 TransportWithMessageCredential 执行客户端身份验证时使用的凭据类型。

public:
 property System::ServiceModel::MessageCredentialType ClientCredentialType { System::ServiceModel::MessageCredentialType get(); void set(System::ServiceModel::MessageCredentialType value); };
[System.Configuration.ConfigurationProperty("clientCredentialType", DefaultValue=System.ServiceModel.MessageCredentialType.Windows)]
public System.ServiceModel.MessageCredentialType ClientCredentialType { get; set; }
[<System.Configuration.ConfigurationProperty("clientCredentialType", DefaultValue=System.ServiceModel.MessageCredentialType.Windows)>]
member this.ClientCredentialType : System.ServiceModel.MessageCredentialType with get, set
Public Property ClientCredentialType As MessageCredentialType

属性值

一个有效的 MessageCredentialType 值,该值指定要在使用基于消息的安全或 TransportWithMessageCredential 执行客户端身份验证时使用的凭据类型。 默认值是 Windows

属性

适用于