AsyncReaderWriterLock.IsWriteLockHeld Property
Microsoft internal only. Determines whether the caller holds a write lock.
Namespace: Microsoft.VisualStudio.Threading
Assembly: Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)
Syntax
'Declaration
Public ReadOnly Property IsWriteLockHeld As Boolean
public bool IsWriteLockHeld { get; }
public:
property bool IsWriteLockHeld {
bool get ();
}
member IsWriteLockHeld : bool with get
function get IsWriteLockHeld () : boolean
Property Value
Type: System.Boolean
true if the caller holds a write lock. false if any other lock type is held, unless this lock is also nested within the other 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.