共用方式為


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

屬性

適用於