WindowsAuthenticationEventArgs(WindowsIdentity, HttpContext) Konstruktor

Definition

Initierar en nyinstans av WindowsAuthenticationEventArgs klassen.

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)

Parametrar

identity
WindowsIdentity

Det Windows identitetsobjektet.

context
HttpContext

Kontexten för händelsen.

Kommentarer

WindowsAuthenticationModule konstruerar ett WindowsAuthenticationEventArgs-objekt med hjälp av den Windows identitet som tillhandahålls av IIS och den aktuella HttpContext och skickar det till händelsen WindowsAuthentication_OnAuthenticate.

Gäller för

Se även