PostSharp6.6//API Reference/Post­Sharp.​Patterns.​Caching.​Locking Namespace/ILock­Handle Interface/ILock­Handle Methods

ILockHandle Methods

The ILockHandle type exposes the following members.

Methods
  NameDescription
Public methodAcquire
Synchronously acquires the lock bound to the current handle.
Public methodAcquireAsync
Asynchronously acquires the lock bound to the current handle.
Public methodRelease
Synchronously releases the lock bound to the current handle.
Public methodReleaseAsync
Asynchronously releases the lock bound to the current handle.
See Also