RoleManagerEventArgs(HttpContext) Construtor
Definição
Cria uma instância da classe RoleManagerEventArgs e define a propriedade Context para o HttpContext especificado.Creates an instance of the RoleManagerEventArgs class and sets the Context property to the specified 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)
Parâmetros
- context
- HttpContext
O HttpContext da solicitação atual.The HttpContext of the current request.
Comentários
O RoleManagerEventArgs objeto fornece informações de evento para o GetRoles evento da RoleManagerModule classe.The RoleManagerEventArgs object provides event information to the GetRoles event of the RoleManagerModule class. O RoleManagerEventArgs objeto fornece acesso ao HttpContext da solicitação atual e uma Boolean RolesPopulated propriedade é usada para habilitar ou cancelar a criação de um RolePrincipal pelo RoleManagerModule .The RoleManagerEventArgs object provides access to the HttpContext of the current request, and a BooleanRolesPopulated property is used to enable or cancel creation of a RolePrincipal by the RoleManagerModule.