.NET Framework Class Library
Thread..::.Sleep Method

Blocks the current thread for the specified number of milliseconds.

Overload List

  NameDescription
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSleep(Int32)Suspends the current thread for a specified time.
Public methodStatic memberSleep(TimeSpan)Blocks the current thread for a specified time.
Top
See Also

Reference

Tags :


Page view tracker