Редагувати

Поділитися через


RoleManagerEventArgs Class

Definition

Provides event data for the GetRoles event of the RoleManagerModule class.

public ref class RoleManagerEventArgs sealed : EventArgs
public sealed class RoleManagerEventArgs : EventArgs
type RoleManagerEventArgs = class
    inherit EventArgs
Public NotInheritable Class RoleManagerEventArgs
Inherits EventArgs
Inheritance
RoleManagerEventArgs

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.

Constructors

RoleManagerEventArgs(HttpContext)

Creates an instance of the RoleManagerEventArgs class and sets the Context property to the specified HttpContext.

Properties

Context

Gets the HttpContext for the current request.

RolesPopulated

Gets or sets a value indicating whether role information has been applied to the current user.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also