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

適用対象

こちらもご覧ください