Progress® Telerik® Reporting R1 2021
IStorage.AcquireLock Method
Acquires a lock on a named resource.
Namespace:
Telerik.Reporting.Cache.InterfacesAssembly: Telerik.Reporting (in Telerik.Reporting.dll)
Syntax
Parameters
- key
- Type: SystemString
The name of the lock. When a lock with particular key is acquired, a subsequent call on AcuireLock with the same key should wait until the original lock is released (disposed).
Return Value
Type: IDisposableA disposable lock object. When disposed from the lock object owner, the lock of the used key is released.
Remarks
Acquires a lock on a named resource and returns a disposable lock object.
When the lock object owner disposes it, the lock is released.
Version Information
Supported in: 1.0.1