AuthenticationSection Konstruktor

Definice

Inicializuje novou instanci AuthenticationSection třídy.

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

Příklady

Následující příklad kódu ukazuje, jak získat AuthenticationSection objekt.

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

Poznámky

Konstruktor AuthenticationSection není určen k použití přímo z vašeho kódu. Volá se konfiguračním systémem ASP.NET. Pomocí metody získáte instanci AuthenticationSection třídy GetSection .

Platí pro