Share via


AsyncReaderWriterLock.IsPassiveReadLockHeld Property

Definition

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

public:
 property bool IsPassiveReadLockHeld { bool get(); };
public:
 property bool IsPassiveReadLockHeld { bool get(); };
public bool IsPassiveReadLockHeld { get; }
member this.IsPassiveReadLockHeld : bool
Public ReadOnly Property IsPassiveReadLockHeld As Boolean

Property Value

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.

Remarks

This property returns false if any other lock type is held, unless within that alternate lock type this lock is also nested.

Applies to