Aracılığıyla paylaş


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 kimliği nesnesi.

context
HttpContext

Olayın bağlamı.

Açıklamalar

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

Şunlara uygulanır

Ayrıca bkz.