Utils.IsAtLeastReadLockHeld(ReaderWriterLockSlim) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns true if syncRoot is either read-lock, upgradeable read-lock, or write-lock held.
public static bool IsAtLeastReadLockHeld (this System.Threading.ReaderWriterLockSlim syncRoot);
static member IsAtLeastReadLockHeld : System.Threading.ReaderWriterLockSlim -> bool
<Extension()>
Public Function IsAtLeastReadLockHeld (syncRoot As ReaderWriterLockSlim) As Boolean
Parameters
- syncRoot
- ReaderWriterLockSlim