WindowsAuthenticationEventArgs(WindowsIdentity, HttpContext) Konstruktor

Definicja

Inicjuje WindowsAuthenticationEventArgs nowo utworzone wystąpienie klasy .

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

Obiekt tożsamości Windows.

context
HttpContext

Kontekst zdarzenia.

Uwagi

Obiekt WindowsAuthenticationModule tworzy WindowsAuthenticationEventArgs obiekt przy użyciu tożsamości Windows dostarczonej przez usługi IIS oraz bieżącej HttpContext i przekazuje go do zdarzenia WindowsAuthentication_OnAuthenticate.

Dotyczy

Zobacz też