AsyncReaderWriterLock.LockStackContains Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Checks whether the aggregated flags from all locks in the lock stack satisfy the specified flag(s).
protected:
bool LockStackContains(Microsoft::VisualStudio::Threading::AsyncReaderWriterLock::LockFlags flags, Microsoft::VisualStudio::Threading::AsyncReaderWriterLock::LockHandle handle);
bool LockStackContains(Microsoft::VisualStudio::Threading::AsyncReaderWriterLock::LockFlags flags, Microsoft::VisualStudio::Threading::AsyncReaderWriterLock::LockHandle handle);
protected bool LockStackContains (Microsoft.VisualStudio.Threading.AsyncReaderWriterLock.LockFlags flags, Microsoft.VisualStudio.Threading.AsyncReaderWriterLock.LockHandle handle);
member this.LockStackContains : Microsoft.VisualStudio.Threading.AsyncReaderWriterLock.LockFlags * Microsoft.VisualStudio.Threading.AsyncReaderWriterLock.LockHandle -> bool
Protected Function LockStackContains (flags As AsyncReaderWriterLock.LockFlags, handle As AsyncReaderWriterLock.LockHandle) As Boolean
Parameters
The flag(s) that must be specified for a true
result.
The head of the lock stack to consider.
Returns
true
if all the specified flags are found somewhere in the lock stack; false
otherwise.