PostSharp6.1/API Reference/Post­Sharp.​Patterns.​Threading Namespace/IConcurrency­Controller Interface/IConcurrency­Controller Methods

IConcurrencyController Methods

The IConcurrencyController type exposes the following members.

Methods
  NameDescription
Public methodAcquireAccess
Acquires access on the entity for the current thread and waits synchronously if access cannot be immediately acquired.
Public methodAcquireAccessAsync
Asynchronously acquires access on the entity for the current thread and returns an async awaiter.
Public methodCheckAccess
Determines whether the current thread has a specified level of access to the entity.
Public methodRequireAccess
Determines whether the current thread has a specified level of access to the entity and throws an exception if not.
See Also