Property IsHeldForWrite
IsHeldForWrite
Gets a value indicating whether the lock is held in write mode.
Declaration
public bool IsHeldForWrite { 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.