WindowsAuthenticationEventArgs(WindowsIdentity, HttpContext) 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
클래스의 새로 만든 인스턴스를 초기화합니다 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 ID 개체입니다.
- context
- HttpContext
이벤트의 컨텍스트입니다.
설명
IIS WindowsAuthenticationModule 및 WindowsAuthenticationEventArgs 현재 HttpContext 에서 제공하는 Windows ID를 사용하여 개체를 생성하고 WindowsAuthentication_OnAuthenticate 이벤트에 전달합니다.