WindowsAuthenticationEventArgs(WindowsIdentity, HttpContext) Konstruktor

Definition

Initialisiert eine neu erstellte Instanz der WindowsAuthenticationEventArgs-Klasse.

public:
 WindowsAuthenticationEventArgs(System::Security::Principal::WindowsIdentity ^ identity, System::Web::HttpContext ^ context);
public WindowsAuthenticationEventArgs (System.Security.Principal.WindowsIdentity identity, System.Web.HttpContext context);
new System.Web.Security.WindowsAuthenticationEventArgs : System.Security.Principal.WindowsIdentity * System.Web.HttpContext -> System.Web.Security.WindowsAuthenticationEventArgs
Public Sub New (identity As WindowsIdentity, context As HttpContext)

Parameter

identity
WindowsIdentity

Das Windows-Identitätsobjekt.

context
HttpContext

Der Kontext für das Ereignis.

Hinweise

Das WindowsAuthenticationModule Erstellt ein WindowsAuthenticationEventArgs Objekt mit der von IIS bereitgestellten Windows Identität und dem aktuellen HttpContext Objekt und übergibt es an das WindowsAuthentication_OnAuthenticate-Ereignis.

Gilt für

Siehe auch