UtilApplicationSleepRandom Method

Overload List

SleepRandom(Int32) Blocks the current thread for a random amount of time, in milliseconds, between 1 and the specified maximum value.
SleepRandom(TimeSpan) Blocks the current thread for a random amount of time, between 1 millisecond and the specified maximum values.
SleepRandom(Int32, Int32) Blocks the current thread for a random amount of time, in milliseconds, between the specified minimum and maximum values.
SleepRandom(TimeSpan, TimeSpan) Blocks the current thread for a random amount of time between the specified minimum and maximum values.

See Also