WindowsAuthenticationEventArgs(WindowsIdentity, HttpContext) Конструктор

Определение

Инициализирует только что созданный экземпляр WindowsAuthenticationEventArgs класса.

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)

Параметры

identity
WindowsIdentity

Объект удостоверения Windows.

context
HttpContext

Контекст события.

Комментарии

Создает WindowsAuthenticationModule объект с помощью удостоверения Windows, предоставленного IIS, и текущего WindowsAuthenticationEventArgs и передает его в событие HttpContext.

Применяется к

См. также раздел