Share via


AsyncReaderWriterLock.IsPassiveReadLockHeld Property

Determines whether a read lock is held by the caller without regard to the lock compatibility of the caller's context.

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

Syntax

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

Property Value

Type: System.Boolean
true if a read lock is held by the caller. This property returns false if any other lock type is held, unless this lock is also nested within that alternate lock type.

.NET Framework Security

See Also

Reference

AsyncReaderWriterLock Class

Microsoft.VisualStudio.Threading Namespace