PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Caching.​Locking Namespace / ILock­Manager Interface / ILock­Manager Methods

ILockManager Methods

The ILockManager type exposes the following members.

Public methodGetLock
Gets a handle to a named lock. This method must return immediately. Waiting, if any, must be done in the Acquire(TimeSpan, CancellationToken) method.
See Also