WindowsAuthenticationEventArgs(WindowsIdentity, HttpContext) Konstruktor
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
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.