Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TypeOperationPermission(Type, String) Constructor

Initializes a new instance of the TypeOperationPermission class.

Namespace: DevExpress.ExpressApp.Security

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

#Declaration

public TypeOperationPermission(
    Type objectType,
    string operation
)

#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