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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.