AsyncLockEnterAsync Method

Obtains exclusive access to the lock.

Definition

Namespace: Gemstone.Threading
Assembly: Gemstone.Threading (in Gemstone.Threading.dll) Version: 1.0.176 -- Release Build+9c922925034f0ac4a6f4aedc5071170fc0c71455
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