HttpTransportElement.AuthenticationScheme 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定用於驗證 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指定用於用戶端驗證的協定的物件。 預設是匿名。
- 屬性
備註
認證方案只能設定一次。