AsyncReaderWriterLock.IsPassiveWriteLockHeld Property
Determines whether a write 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 IsPassiveWriteLockHeld As Boolean
public bool IsPassiveWriteLockHeld { get; }
public:
property bool IsPassiveWriteLockHeld {
bool get ();
}
member IsPassiveWriteLockHeld : bool with get
function get IsPassiveWriteLockHeld () : boolean
Property Value
Type: System.Boolean
true if the caller holds a write lock. 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.