.NET Framework Class Library
Thread.Sleep Method

Blocks the current thread for the specified number of milliseconds.

Overload List

Name Description
Thread.Sleep (Int32) Suspends the current thread for a specified time.

Supported by the .NET Compact Framework.

Thread.Sleep (TimeSpan) Blocks the current thread for a specified time.
See Also

Tags :


Page view tracker