.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

MemberOperationPermission(Type, String, String) Constructor

Initializes a new instance of the MemberOperationPermission class.

Namespace: DevExpress.ExpressApp.Security

Assembly: DevExpress.ExpressApp.Security.v21.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