WindowsAuthenticationEventArgs(WindowsIdentity, HttpContext) Construtor

Definição

Inicializa uma instância recém-criada da classe WindowsAuthenticationEventArgs.Initializes a newly created instance of the WindowsAuthenticationEventArgs class.

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)

Parâmetros

identity
WindowsIdentity

O objeto de identidade do Windows.The Windows identity object.

context
HttpContext

O contexto para o evento.The context for the event.

Comentários

O WindowsAuthenticationModule constrói um WindowsAuthenticationEventArgs objeto usando a identidade do Windows fornecida pelo IIS e o atual HttpContext e o passa para o evento WindowsAuthentication_OnAuthenticate .The WindowsAuthenticationModule constructs a WindowsAuthenticationEventArgs object using the Windows identity supplied by IIS and the current HttpContext and passes it to the WindowsAuthentication_OnAuthenticate event.

Aplica-se a