AsyncLockEnterAsync Method

Obtains exclusive access to the lock.

Definition

Namespace: Gemstone.Threading
Assembly: Gemstone.Threading (in Gemstone.Threading.dll) Version: 1.0.147 -- Release Build+71918e29738e2d0700de8aec0ad72324b16f1428
public Task<IDisposable> EnterAsync()

Return Value

TaskIDisposable
A task that must be awaited to obtain the token that will release the lock on Dispose.

See Also