PostSharp.ILAPI ReferencePost­Sharp.​Patterns.​ThreadingIConcurrency­ControllerRequire­Access
Open sandboxFocus

IConcurrencyController.RequireAccess Method

RequireAccess(ObjectAccessLevel)

Determines whether the current thread has a specified level of access to the entity and throws an exception if not.

Declaration
void RequireAccess(ObjectAccessLevel objectAccessLevel)
Parameters
Type Name Description
ObjectAccessLevel objectAccessLevel

The required access level on the entity.