Progress® Telerik® Reporting R3 2021

IStorage.AcquireLock Method

Acquires a lock on a named resource.

Namespace:  Telerik.Reporting.Cache.Interfaces
Assembly:  Telerik.Reporting (in Telerik.Reporting.dll)


IDisposable AcquireLock(
	string 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: IDisposable
A disposable lock object. When disposed from the lock object owner, the lock of the used key is released.


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

See Also

In this article
Not finding the help you need?