次の方法で共有


RoleManagerEventArgs(HttpContext) コンストラクター

定義

RoleManagerEventArgs クラスのインスタンスを作成し、Context プロパティを指定したHttpContextに設定します。

public:
 RoleManagerEventArgs(System::Web::HttpContext ^ context);
public RoleManagerEventArgs(System.Web.HttpContext context);
new System.Web.Security.RoleManagerEventArgs : System.Web.HttpContext -> System.Web.Security.RoleManagerEventArgs
Public Sub New (context As HttpContext)

パラメーター

context
HttpContext

現在の要求の HttpContext

注釈

RoleManagerEventArgs オブジェクトは、RoleManagerModule クラスのGetRoles イベントにイベント情報を提供します。 RoleManagerEventArgs オブジェクトは、現在の要求のHttpContextへのアクセスを提供し、BooleanRolesPopulated プロパティを使用して、RoleManagerModuleによるRolePrincipalの作成を有効または取り消します。

適用対象

こちらもご覧ください