ILockHandle Interface |
Allows to acquire and release a named lock returned by GetLock(String).
Namespace: PostSharp.Patterns.Caching.Locking
Assembly: PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 6.10.10.0 (6.10.10.0)
C#
public interface ILockHandle : IDisposable
The ILockHandle type exposes the following members.
Name | Description | |
---|---|---|
Acquire |
Synchronously acquires the lock bound to the current handle.
| |
AcquireAsync |
Asynchronously acquires the lock bound to the current handle.
| |
Release |
Synchronously releases the lock bound to the current handle.
| |
ReleaseAsync |
Asynchronously releases the lock bound to the current handle.
|