System.Threading.ReaderWriterLockSlim: Property Members

The properties of System.Threading.ReaderWriterLockSlim are listed below. For a list of all members, see the ReaderWriterLockSlim Members list.

See Also: Inherited members from System.Object

Public Properties

[read-only]
CurrentReadCountint.

Gets the total number of unique threads that have entered the lock in read mode.

[read-only]
IsReadLockHeldbool.

Gets a value that indicates whether the current thread has entered the lock in read mode.

[read-only]
IsUpgradeableReadLockHeldbool.

Gets a value that indicates whether the current thread has entered the lock in upgradeable mode.

[read-only]
IsWriteLockHeldbool.

Gets a value that indicates whether the current thread has entered the lock in write mode.

[read-only]
RecursionPolicyLockRecursionPolicy.

Gets a value that indicates the recursion policy for the current System.Threading.ReaderWriterLockSlim object.

[read-only]
RecursiveReadCountint.

Gets the number of times the current thread has entered the lock in read mode, as an indication of recursion.

[read-only]
RecursiveUpgradeCountint.

Gets the number of times the current thread has entered the lock in upgradeable mode, as an indication of recursion.

[read-only]
RecursiveWriteCountint.

Gets the number of times the current thread has entered the lock in write mode, as an indication of recursion.

[read-only]
WaitingReadCountint.

Gets the total number of threads that are waiting to enter the lock in read mode.

[read-only]
WaitingUpgradeCountint.

Gets the total number of threads that are waiting to enter the lock in upgradeable mode.

[read-only]
WaitingWriteCountint.

Gets the total number of threads that are waiting to enter the lock in write mode.