Share via


AsyncReaderWriterLock.IsReadLockHeld Property

Microsoft internal only. Determines whether the caller holds a read lock.

Namespace:  Microsoft.VisualStudio.Threading
Assembly:  Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)

Syntax

'Declaration
Public ReadOnly Property IsReadLockHeld As Boolean
public bool IsReadLockHeld { get; }
public:
property bool IsReadLockHeld {
    bool get ();
}
member IsReadLockHeld : bool with get
function get IsReadLockHeld () : boolean

Property Value

Type: System.Boolean
true if the caller holds a read lock. false if any other lock type is held, unless this lock is also nested within the other lock type.

.NET Framework Security

See Also

Reference

AsyncReaderWriterLock Class

Microsoft.VisualStudio.Threading Namespace