RoleManagerEventArgs(HttpContext) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
Parameters
- context
- HttpContext
The HttpContext of the current request.
Remarks
The RoleManagerEventArgs object provides event information to the GetRoles event of the RoleManagerModule class. The RoleManagerEventArgs object provides access to the HttpContext of the current request, and a Boolean
RolesPopulated property is used to enable or cancel creation of a RolePrincipal by the RoleManagerModule.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru