WindowsAuthenticationEventArgs(WindowsIdentity, HttpContext) Konstruktor

Definice

Inicializuje nově vytvořenou WindowsAuthenticationEventArgs instanci třídy.

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)

Parametry

identity
WindowsIdentity

Objekt Windows identity.

context
HttpContext

Kontext události.

Poznámky

WindowsAuthenticationModule Vytvoří WindowsAuthenticationEventArgs objekt pomocí identity systému Windows poskytnuté službou IIS a aktuální HttpContext a předá ho WindowsAuthentication_OnAuthenticate události.

Platí pro

Viz také