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)

public:
property bool IsPassiveWriteLockHeld {
	bool get();
}

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.

Return to top
Show: