Share via


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 物件,指定用於用戶端驗證的通訊協定 (Protocol)。 預設值為 Anonymous。

屬性

備註

驗證配置只能設定一次。

適用於