Partager via


AsyncReaderWriterLock.GetAggregateLockFlags Method

Definition

Returns the aggregate of the lock flags for all nested locks.

protected:
 Microsoft::VisualStudio::Threading::AsyncReaderWriterLock::LockFlags GetAggregateLockFlags();
Microsoft::VisualStudio::Threading::AsyncReaderWriterLock::LockFlags GetAggregateLockFlags();
protected Microsoft.VisualStudio.Threading.AsyncReaderWriterLock.LockFlags GetAggregateLockFlags ();
member this.GetAggregateLockFlags : unit -> Microsoft.VisualStudio.Threading.AsyncReaderWriterLock.LockFlags
Protected Function GetAggregateLockFlags () As AsyncReaderWriterLock.LockFlags

Returns

Returns AsyncReaderWriterLock.LockFlags.

Remarks

This is not redundant with LockStackContains(AsyncReaderWriterLock+LockFlags, AsyncReaderWriterLock+LockHandle) because that returns fast once the presence of certain flag(s) is determined, whereas this will aggregate all flags, some of which may be defined by derived types.

Applies to