Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Catel
Threading
AsyncLock
LockAsync
Catel.Threading.AsyncLock.LockAsync C# (CSharp) Method
AsyncLock Class Documentation
Show file
Open project: Catel/Catel
LockAsync()
public
method
Asynchronously acquires the lock. Returns a disposable that releases the lock when disposed.
public
LockAsync
( ) :
AwaitableDisposable
return
AwaitableDisposable
public AwaitableDisposable<IDisposable> LockAsync() { return LockAsync(CancellationToken.None); }
Same methods
AsyncLock::
LockAsync
(
CancellationToken
cancellationToken
) :
AwaitableDisposable
AsyncLock
AsyncLock
Lock
LockAsync
ReleaseLock