SpinUntil Method (Func(Boolean))
Collapse the table of content
Expand the table of content

SpinWait.SpinUntil Method (Func(Of Boolean))

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

Spins until the specified condition is satisfied.

Namespace:  System.Threading
Assembly:  mscorlib (in mscorlib.dll)

'Declaration
Public Shared Sub SpinUntil ( _
	condition As Func(Of Boolean) _
)

Parameters

condition
Type: System.Func(Of Boolean)
A delegate to be executed over and over until it returns true.

ExceptionCondition
ArgumentNullException

The condition argument is null.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft