AsyncLockEnterAsync Method

Obtains exclusive access to the lock.

Definition

Namespace: Gemstone.Threading
Assembly: Gemstone.Threading (in Gemstone.Threading.dll) Version: 1.0.167 -- Release Build+6c665d9111cb5e0fc32e9aa6c693dcb89c216eb7
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