語言

HttpTransportElement.AuthenticationScheme 屬性

定義

取得或設定用於驗證 HTTP 監聽器處理的客戶端請求的驗證方案。

public:
 property System::Net::AuthenticationSchemes AuthenticationScheme { System::Net::AuthenticationSchemes get(); void set(System::Net::AuthenticationSchemes value); };
[System.Configuration.ConfigurationProperty("authenticationScheme", DefaultValue=System.Net.AuthenticationSchemes.Anonymous)]
public System.Net.AuthenticationSchemes AuthenticationScheme { get; set; }
[<System.Configuration.ConfigurationProperty("authenticationScheme", DefaultValue=System.Net.AuthenticationSchemes.Anonymous)>]
member this.AuthenticationScheme : System.Net.AuthenticationSchemes with get, set
Public Property AuthenticationScheme As AuthenticationSchemes

屬性值

AuthenticationSchemes指定用於用戶端驗證的協定的物件。 預設是匿名。

屬性

備註

認證方案只能設定一次。

適用於