Gets whether the lock is currently held by any thread.
Namespace:
System.Threading
Assembly:
System.Threading (in System.Threading.dll)
Syntax
Visual Basic (Declaration) |
---|
Public ReadOnly Property IsHeld As Boolean |
C# |
---|
public bool IsHeld { get; } |