WindowsAuthenticationEventArgs(WindowsIdentity, HttpContext) Oluşturucu

Tanım

Sınıfının yeni oluşturulan bir örneğini WindowsAuthenticationEventArgs başlatır.

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)

Parametreler

identity
WindowsIdentity

Windows kimlik nesnesi.

context
HttpContext

Olayın bağlamı.

Açıklamalar

IIS WindowsAuthenticationModule ve geçerli WindowsAuthenticationEventArgs tarafından sağlanan Windows kimliğini kullanarak bir HttpContext nesnesi oluşturur ve WindowsAuthentication_OnAuthenticate olayına geçirir.

Şunlara uygulanır

Ayrıca bkz.