PostSharp 4.3 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Threading Namespace / IConcurrency­Controller Interface / IConcurrency­Controller Methods
IConcurrencyController Methods

The IConcurrencyController type exposes the following members.

Methods
  Name Description
Public method AcquireAccess
Acquires access on the entity for the current thread and waits synchronously if access cannot be immediately acquired.
Public method AcquireAccessAsync
Asynchronously acquires access on the entity for the current thread and returns an async awaiter.
Public method CheckAccess
Determines whether the current thread has a specified level of access to the entity.
Public method RequireAccess
Determines whether the current thread has a specified level of access to the entity and throws an exception if not.
See Also