Click or drag to resize

AsyncMutexAcquireAsync Method

Acquires exclusive access to the mutex.

Namespace:  Neon.Tasks
Assembly:  Neon.Common (in Neon.Common.dll) Version: 2.14.0
Syntax
public NonDisposableTask<IDisposable> AcquireAsync()

Return Value

Type: NonDisposableTaskIDisposable
The IDisposable instance to be disposed to release the lock.
Exceptions
ExceptionCondition
ObjectDisposedExceptionThrown if the lock is disposed before or after this method is called.
See Also