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: 6.10.14.0 (6.10.14.0)
C#
void RequireAccess( ObjectAccessLevel objectAccessLevel )
Parameters
- objectAccessLevel
- Type: PostSharp.Patterns.Model.ObjectAccessLevel
The required access level on the entity.