AsyncReaderWriterLock.IsUpgradeableReadLockHeld Property

Definition

Gets a value indicating whether the caller holds an upgradeable read lock.

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

Property Value

true if the caller holds an upgradeable read lock. false if any other lock type is held, unless this lock is also nested within the other 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