Skip to main content
.NET 6.0+

MemberOperationPermission(Type, String, String) Constructor

Initializes a new instance of the MemberOperationPermission class.

Namespace: DevExpress.ExpressApp.Security

Assembly: DevExpress.ExpressApp.Security.v24.1.dll

Declaration

public MemberOperationPermission(
    Type objectType,
    string memberName,
    string operation
)

Parameters

Name Type Description
objectType Type

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

memberName String

A string which is the name of the secured member.

operation String

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

Remarks

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

See Also