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
Exceptions
TimeoutException
The timeout time has expired (if > 0). |