AsyncLock.AsyncLockLease Struct

Represents a disposable lease for an AsyncLock. Disposing the lease releases the lock.

public readonly struct AsyncLockLease : IDisposable

Remarks

Only the first disposal of a lease releases the lock. Disposing the same lease again, or disposing a copy of an already-disposed lease, does nothing instead of releasing an acquisition made in the meantime.

Implements

Methods

NameDescription
Dispose()

Dispose()

AsyncLock.cs
public void Dispose()

No documentation is available.