共用方式為


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。 預設為 UserName。

屬性

適用於