Export (0) Print
Expand All

SpinLock Methods

The SpinLock type exposes the following members.

  Name Description
Public method Supported by Portable Class Library Enter Acquires the lock in a reliable manner, such that even if an exception occurs within the method call, lockTaken can be examined reliably to determine whether the lock was acquired.
Public method Supported by Portable Class Library Equals Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Public method Supported by Portable Class Library Exit() Releases the lock.
Public method Supported by Portable Class Library Exit(Boolean) Releases the lock.
Public method Supported by Portable Class Library GetHashCode Returns the hash code for this instance. (Inherited from ValueType.)
Public method Supported by Portable Class Library GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Supported by Portable Class Library ToString Returns the fully qualified type name of this instance. (Inherited from ValueType.)
Public method Supported by Portable Class Library TryEnter(Boolean) Attempts to acquire the lock in a reliable manner, such that even if an exception occurs within the method call, lockTaken can be examined reliably to determine whether the lock was acquired.
Public method Supported by Portable Class Library TryEnter(Int32, Boolean) Attempts to acquire the lock in a reliable manner, such that even if an exception occurs within the method call, lockTaken can be examined reliably to determine whether the lock was acquired.
Public method Supported by Portable Class Library TryEnter(TimeSpan, Boolean) Attempts to acquire the lock in a reliable manner, such that even if an exception occurs within the method call, lockTaken can be examined reliably to determine whether the lock was acquired.
Top
Show:
© 2015 Microsoft