BasicHttpMessageSecurityElement.ClientCredentialType 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
指定要與 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。
- 屬性