Show / Hide Table of Contents

Method WaitLoop.Sleep


Overload

Calls WaitLoop.IsTimeout. If it returns true, returns false. Else sleeps WaitLoop.Period milliseconds, increments Period if it is less than WaitLoop.MaxPeriod, and returns true.

public bool Sleep()
Returns
bool
Exceptions
TimeoutException

The timeout time has expired (if > 0).