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

See Also

Reference

AsyncReaderWriterLock Class

Microsoft.VisualStudio.Threading Namespace