Freigeben über


FormsAuthenticationModule.Init-Methode

Initialisiert das FormsAuthenticationModule-Objekt.

Namespace: System.Web.Security
Assembly: System.Web (in system.web.dll)

Syntax

'Declaration
Public Sub Init ( _
    app As HttpApplication _
)
'Usage
Dim instance As FormsAuthenticationModule
Dim app As HttpApplication

instance.Init(app)
public void Init (
    HttpApplication app
)
public:
virtual void Init (
    HttpApplication^ app
) sealed
public final void Init (
    HttpApplication app
)
public final function Init (
    app : HttpApplication
)

Parameter

Hinweise

Diese Methode ist nicht für den Aufruf aus dem Anwendungscode heraus bestimmt.

Durch die Init-Methode wird sichergestellt, dass das FormsAuthenticationModule in die Verarbeitung des AuthenticateRequest-Ereignisses und des EndRequest-Ereignisses einbezogen wird.

Plattformen

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

Siehe auch

Referenz

FormsAuthenticationModule-Klasse
FormsAuthenticationModule-Member
System.Web.Security-Namespace

Weitere Ressourcen

Formularauthentifizierungsanbieter