Share via


AsyncReaderWriterLock.IsPassiveUpgradeableReadLockHeld Property

Definition

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

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

Property Value

true if an upgradeable 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