PassportAuthentication 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
This type is obsolete. The Passport authentication product is no longer supported and has been superseded by Live ID.
在 ASP.NET 應用程式中配置基於護照的認證。
public ref class PassportAuthentication sealed : System::Configuration::ConfigurationElement
public sealed class PassportAuthentication : System.Configuration.ConfigurationElement
[System.Obsolete("This type is obsolete. The Passport authentication product is no longer supported and has been superseded by Live ID.")]
public sealed class PassportAuthentication : System.Configuration.ConfigurationElement
type PassportAuthentication = class
inherit ConfigurationElement
[<System.Obsolete("This type is obsolete. The Passport authentication product is no longer supported and has been superseded by Live ID.")>]
type PassportAuthentication = class
inherit ConfigurationElement
Public NotInheritable Class PassportAuthentication
Inherits ConfigurationElement
- 繼承
- 屬性
備註
這個 PassportAuthentication 類別允許你存取並設定 Machine.config 或 Web.config passport 標籤所識別的設定檔中的節點。
此類型屬於包含 AuthenticationSection、 FormsAuthenticationConfiguration、 及 AuthenticationMode 類型的群。
Note
該 PassportAuthentication 類別只能在機器、站點或應用程式層級將資訊寫入設定檔的相關區段。 任何嘗試在階層結構中寫入不同層級的設定檔,解析器都會產生錯誤訊息。 你可以用這個類別讀取階層中任何層級的設定資訊。
建構函式
| 名稱 | Description |
|---|---|
| PassportAuthentication() |
已淘汰.
初始化 PassportAuthentication 類別的新執行個體。 |