MemberOperationPermission(Type, String, String) Constructor

Initializes a new instance of the MemberOperationPermission class.

Namespace: DevExpress.ExpressApp.Security

Assembly: DevExpress.ExpressApp.Security.v18.2.dll

Declaration

public MemberOperationPermission(
    Type objectType,
    string memberName,
    string operation
)
Public Sub New(
    objectType As Type,
    memberName As String,
    operation As String
)

Parameters

Type Name Description
Type objectType

A System.Type object which is the type exposing the secured member.

String memberName

A string which is the name of the secured member.

String operation

A string which is the name of the secured operation. Supported operations are "Read" and "Write".

If the specified operation is not supported, a System.InvalidOperationException is thrown.

See Also