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 ID オブジェクト。

context
HttpContext

イベントのコンテキスト。

注釈

WindowsAuthenticationModuleは、IIS によって提供される Windows ID と現在のWindowsAuthenticationEventArgsを使用してHttpContext オブジェクトを構築し、WindowsAuthentication_OnAuthenticate イベントに渡します。

適用対象

こちらもご覧ください