語言

AuthenticationSection 建構函式

定義

初始化 AuthenticationSection 類別的新執行個體。

public:
 AuthenticationSection();
public AuthenticationSection();
Public Sub New ()

範例

以下程式碼範例說明如何取得物件 AuthenticationSection 。

AuthenticationSection newauthenticationSection =
    new AuthenticationSection();
Dim newauthenticationSection _
As New AuthenticationSection()

備註

建 AuthenticationSection 構子並非直接從你的程式碼中使用。 它由 ASP.NET 配置系統稱為此。 你可以透過使用該AuthenticationSection方法獲得該GetSection類別的實例。

適用於