PostSharpAPI ReferencePost­Sharp.​Patterns.​ThreadingIConcurrency­ControllerCheck­Access
Open sandboxFocus

IConcurrencyController.CheckAccess Method

CheckAccess(ObjectAccessLevel)

Determines whether the current thread has a specified level of access to the entity.

Declaration
bool CheckAccess(ObjectAccessLevel objectAccessLevel)
Parameters
Type Name Description
ObjectAccessLevel objectAccessLevel

The required access level on the entity.

Returns
Type Description
Boolean

true if the current thread has the required level of access, otherwise false.