Share via


AsyncReaderWriterLock.IsPassiveWriteLockHeld Property

Definition

Gets a value indicating whether a write lock is held by the caller without regard to the lock compatibility of the caller's context.

public:
 property bool IsPassiveWriteLockHeld { bool get(); };
public:
 property bool IsPassiveWriteLockHeld { bool get(); };
public bool IsPassiveWriteLockHeld { get; }
member this.IsPassiveWriteLockHeld : bool
Public ReadOnly Property IsPassiveWriteLockHeld As Boolean

Property Value

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.

Remarks

This property returns false if any other lock type is held, unless within that alternate lock type this lock is also nested.

Applies to