Property IsHeldForRead
IsHeldForRead
Gets a value indicating whether the lock is held in read mode by one or more callers.
Declaration
public bool IsHeldForRead { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Remarks
The lock has no owner, so this says that someone holds it, not that the current caller does. The value is a snapshot that can be out of date when it is returned, unless the caller knows that it holds the lock itself.