Export (0) Print
Expand All

ReaderWriterLockSlim Methods

The ReaderWriterLockSlim type exposes the following members.

  Name Description
Public method Supported by Portable Class Library Dispose Releases all resources used by the current instance of the ReaderWriterLockSlim class.
Public method Supported by Portable Class Library EnterReadLock Tries to enter the lock in read mode.
Public method Supported by Portable Class Library EnterUpgradeableReadLock Tries to enter the lock in upgradeable mode.
Public method Supported by Portable Class Library EnterWriteLock Tries to enter the lock in write mode.
Public method Supported by Portable Class Library Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method Supported by Portable Class Library ExitReadLock Reduces the recursion count for read mode, and exits read mode if the resulting count is 0 (zero).
Public method Supported by Portable Class Library ExitUpgradeableReadLock Reduces the recursion count for upgradeable mode, and exits upgradeable mode if the resulting count is 0 (zero).
Public method Supported by Portable Class Library ExitWriteLock Reduces the recursion count for write mode, and exits write mode if the resulting count is 0 (zero).
Protected method Supported by Portable Class Library Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Supported by Portable Class Library GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method Supported by Portable Class Library GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method Supported by Portable Class Library MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Supported by Portable Class Library ToString Returns a string that represents the current object. (Inherited from Object.)
Public method Supported by Portable Class Library TryEnterReadLock(Int32) Tries to enter the lock in read mode, with an optional integer time-out.
Public method Supported by Portable Class Library TryEnterReadLock(TimeSpan) Tries to enter the lock in read mode, with an optional time-out.
Public method Supported by Portable Class Library TryEnterUpgradeableReadLock(Int32) Tries to enter the lock in upgradeable mode, with an optional time-out.
Public method Supported by Portable Class Library TryEnterUpgradeableReadLock(TimeSpan) Tries to enter the lock in upgradeable mode, with an optional time-out.
Public method Supported by Portable Class Library TryEnterWriteLock(Int32) Tries to enter the lock in write mode, with an optional time-out.
Public method Supported by Portable Class Library TryEnterWriteLock(TimeSpan) Tries to enter the lock in write mode, with an optional time-out.
Top
Show:
© 2015 Microsoft