AsyncReaderWriterLock.IsPassiveUpgradeableReadLockHeld Property
Determines whether an upgradeable 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 IsPassiveUpgradeableReadLockHeld As Boolean
public bool IsPassiveUpgradeableReadLockHeld { get; }
public:
property bool IsPassiveUpgradeableReadLockHeld {
bool get ();
}
member IsPassiveUpgradeableReadLockHeld : bool with get
function get IsPassiveUpgradeableReadLockHeld () : boolean
Property Value
Type: System.Boolean
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.
.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.