Compartir a través de


AsyncReaderWriterLock.GetAggregateLockFlags Method

Microsoft internal only. Gets the aggregate of the lock flags for all nested locks.

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

Syntax

'Declaration
Protected Function GetAggregateLockFlags As AsyncReaderWriterLock.LockFlags
protected AsyncReaderWriterLock.LockFlags GetAggregateLockFlags()
protected:
AsyncReaderWriterLock::LockFlags GetAggregateLockFlags()
member GetAggregateLockFlags : unit -> AsyncReaderWriterLock.LockFlags
protected function GetAggregateLockFlags() : AsyncReaderWriterLock.LockFlags

Return Value

Type: Microsoft.VisualStudio.Threading.AsyncReaderWriterLock.LockFlags
Returns AsyncReaderWriterLock.LockFlags.

Remarks

This method is not the same as LockStackContains because that method returns immediately after it determines the presence of certain flag(s), while the current method aggregates all flags, some of which may be defined by derived types.

.NET Framework Security

See Also

Reference

AsyncReaderWriterLock Class

Microsoft.VisualStudio.Threading Namespace