SpinWait Methods
Collapse the table of content
Expand the table of content

SpinWait Methods

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

The SpinWait type exposes the following members.

  NameDescription
Public method Equals Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Protected method 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.)
Public method GetHashCode Returns the hash code for this instance. (Inherited from ValueType.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Reset Resets the spin counter.
Public method SpinOnce Performs a single spin.
Public method Static member SpinUntil(Func(Of Boolean)) Spins until the specified condition is satisfied.
Public method Static member SpinUntil(Func(Of Boolean), Int32) Spins until the specified condition is satisfied or until the specified timeout is expired.
Public method Static member SpinUntil(Func(Of Boolean), TimeSpan) Spins until the specified condition is satisfied or until the specified timeout is expired.
Public method ToString Returns the fully qualified type name of this instance. (Inherited from ValueType.)
Top

Show:
© 2017 Microsoft