WindowsAuthenticationEventArgs-Konstruktor
Initialisiert eine neu erstellte Instanz der WindowsAuthenticationEventArgs-Klasse.
Namespace: System.Web.Security
Assembly: System.Web (in system.web.dll)
Syntax
'Declaration
Public Sub New ( _
identity As WindowsIdentity, _
context As HttpContext _
)
'Usage
Dim identity As WindowsIdentity
Dim context As HttpContext
Dim instance As New WindowsAuthenticationEventArgs(identity, context)
public WindowsAuthenticationEventArgs (
WindowsIdentity identity,
HttpContext context
)
public:
WindowsAuthenticationEventArgs (
WindowsIdentity^ identity,
HttpContext^ context
)
public WindowsAuthenticationEventArgs (
WindowsIdentity identity,
HttpContext context
)
public function WindowsAuthenticationEventArgs (
identity : WindowsIdentity,
context : HttpContext
)
Parameter
- identity
Das Windows-Identitätsobjekt.
- context
Der Kontext für das Ereignis.
Hinweise
Das WindowsAuthenticationModule erstellt ein WindowsAuthenticationEventArgs-Objekt mit der von IIS (Internet Information Services, Internetinformationsdienste) und dem aktuellen HttpContext bereitgestellten Windows-Identität und übergibt es an das WindowsAuthentication_OnAuthenticate-Ereignis.
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
WindowsAuthenticationEventArgs-Klasse
WindowsAuthenticationEventArgs-Member
System.Web.Security-Namespace