RoleManagerEventArgs 类   
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
为 RoleManagerModule 类的 GetRoles 事件提供事件数据。
public ref class RoleManagerEventArgs sealed : EventArgspublic sealed class RoleManagerEventArgs : EventArgstype RoleManagerEventArgs = class
    inherit EventArgsPublic NotInheritable Class RoleManagerEventArgs
Inherits EventArgs- 继承
注解
              RoleManagerEventArgs 对象向 RoleManagerModule 类的 GetRoles 事件提供事件信息。 
              RoleManagerEventArgs 对象提供对当前请求 HttpContext 的访问权限,BooleanRolesPopulated 属性用于启用或取消 RoleManagerModule创建 RolePrincipal。
构造函数
| RoleManagerEventArgs(HttpContext) | 创建 RoleManagerEventArgs 类的实例,并将 Context 属性设置为指定的 HttpContext。 | 
属性
| Context | 获取当前请求的 HttpContext。 | 
| RolesPopulated | 获取或设置一个值,该值指示角色信息是否已应用于当前用户。 | 
方法
| Equals(Object) | 确定指定的对象是否等于当前对象。(继承自 Object) | 
| GetHashCode() | 用作默认哈希函数。(继承自 Object) | 
| GetType() | 获取当前实例的 Type。(继承自 Object) | 
| MemberwiseClone() | 创建当前 Object的浅表副本。(继承自 Object) | 
| ToString() | 返回一个表示当前对象的字符串。(继承自 Object) |