IConcurrencyController.RequireAccess Method |
Determines whether the current thread has a specified level of access to the entity and throws an exception if not.
Namespace: PostSharp.Patterns.Threading
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
void RequireAccess( ObjectAccessLevel objectAccessLevel )
Parameters
- objectAccessLevel
- Type: PostSharp.Patterns.Model.ObjectAccessLevel
The required access level on the entity.