Thread.Sleep Method
.NET Framework 2.0
Blocks the current thread for the specified number of milliseconds.
| 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. |