संपादित करें

इसके माध्यम से साझा किया गया


RoleManagerEventArgs(HttpContext) Constructor

Definition

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