Compartir a través de


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

See Also

Reference

AsyncReaderWriterLock Class

Microsoft.VisualStudio.Threading Namespace