System.Threading.SpinLock: Property Members

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

See Also: Inherited members from System.ValueType

Public Properties

[read-only]
IsHeldbool.

Gets whether the lock is currently held by any thread.

[read-only]
IsHeldByCurrentThreadbool.

Gets whether the lock is held by the current thread.

[read-only]
IsThreadOwnerTrackingEnabledbool.

Gets whether thread ownership tracking is enabled for this instance.