ReaderWriterLockSlim Methods
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
The ReaderWriterLockSlim type exposes the following members.
| Name | Description | |
|---|---|---|
|
Dispose | Releases all resources used by the current instance of the ReaderWriterLockSlim class. |
|
EnterReadLock | Tries to enter the lock in read mode. |
|
EnterUpgradeableReadLock | Tries to enter the lock in upgradeable mode. |
|
EnterWriteLock | Tries to enter the lock in write mode. |
|
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
ExitReadLock | Reduces the recursion count for read mode, and exits read mode if the resulting count is 0 (zero). |
|
ExitUpgradeableReadLock | Reduces the recursion count for upgradeable mode, and exits upgradeable mode if the resulting count is 0 (zero). |
|
ExitWriteLock | Reduces the recursion count for write mode, and exits write mode if the resulting count is 0 (zero). |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
|
TryEnterReadLock(Int32) | Tries to enter the lock in read mode, with an optional integer time-out. |
|
TryEnterReadLock(TimeSpan) | Tries to enter the lock in read mode, with an optional time-out. |
|
TryEnterUpgradeableReadLock(Int32) | Tries to enter the lock in upgradeable mode, with an optional time-out. |
|
TryEnterUpgradeableReadLock(TimeSpan) | Tries to enter the lock in upgradeable mode, with an optional time-out. |
|
TryEnterWriteLock(Int32) | Tries to enter the lock in write mode, with an optional time-out. |
|
TryEnterWriteLock(TimeSpan) | Tries to enter the lock in write mode, with an optional time-out. |
Show: