WindowsAuthenticationEventArgs(WindowsIdentity, HttpContext) Constructeur
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Initialise une instance nouvellement créée de la WindowsAuthenticationEventArgs classe.
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)
Paramètres
- identity
- WindowsIdentity
Objet d’identité Windows.
- context
- HttpContext
Contexte de l’événement.
Remarques
Construit WindowsAuthenticationModule un WindowsAuthenticationEventArgs objet à l’aide de l’identité Windows fournie par IIS et du courant HttpContext et le transmet à l’événement WindowsAuthentication_OnAuthenticate .