Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
Previous Versions
.NET Framework 2.0
System.Threading
Thread Class
Thread Methods
Sleep Method
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
.NET Framework Class Library
Thread.Sleep Method

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.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker