Click or drag to resize

VoidLock Methods

The VoidLock type exposes the following members.

Methods
  NameDescription
Public methodAcquire
Acquires the lock; the lock is released when the disposable object that was returned is disposed.
Public methodAcquire(Int64)
Acquires the specified msec.
Public methodAcquire(Boolean, NullableT)
Public methodRelease
Releases this instance.
Public methodReleaseAcquire
Provides a temporary release of the lock if it is acquired. When the disposable object that is returned is disposed, the lock is re-acquired. This method is effectively the opposite of acquire.
Top
Extension Methods
See Also