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
flags
Type: Microsoft.VisualStudio.Threading.AsyncReaderWriterLock.LockFlagsThe flag(s) to look for.
handle
Type: Microsoft.VisualStudio.Threading.AsyncReaderWriterLock.LockHandleThe head of the lock stack.
Return Value
Type: System.Boolean
true if the specified flags are found somewhere in the lock stack, otherwise false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.