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

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

注釈

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

適用対象

こちらもご覧ください