The requested page is not available for the requested platform. You are viewing the content for Default platform.

TypeOperationPermission(Type, String) Constructor

Initializes a new instance of the TypeOperationPermission class.

Namespace: DevExpress.ExpressApp.Security

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

Declaration

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

Parameters

Name Type Description
objectType Type

A System.Type object which is the secured type.

operation String

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

Remarks

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

See Also