Share via


AsyncReaderWriterLock.LockStackContains Method

Microsoft internal only. Checks whether the aggregated flags from all the locks in the lock stack satisfy the specified flag(s).

Namespace:  Microsoft.VisualStudio.Threading
Assembly:  Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)

Syntax

'Declaration
Protected Function LockStackContains ( _
    flags As AsyncReaderWriterLock.LockFlags, _
    handle As AsyncReaderWriterLock.LockHandle _
) As Boolean
protected bool LockStackContains(
    AsyncReaderWriterLock.LockFlags flags,
    AsyncReaderWriterLock.LockHandle handle
)
protected:
bool LockStackContains(
    AsyncReaderWriterLock::LockFlags flags, 
    AsyncReaderWriterLock::LockHandle handle
)
member LockStackContains : 
        flags:AsyncReaderWriterLock.LockFlags * 
        handle:AsyncReaderWriterLock.LockHandle -> bool
protected function LockStackContains(
    flags : AsyncReaderWriterLock.LockFlags, 
    handle : AsyncReaderWriterLock.LockHandle
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the specified flags are found somewhere in the lock stack, otherwise false.

.NET Framework Security

See Also

Reference

AsyncReaderWriterLock Class

Microsoft.VisualStudio.Threading Namespace