NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Thread.Sleep

Suspends the current thread for a specified time.

Overload List

Suspends the current thread for a specified time.

[Visual Basic] Overloads Public Shared Sub Sleep(TimeSpan)
[C#] public static void Sleep(TimeSpan);
[C++] public: static void Sleep(TimeSpan);
[JScript] public static function Sleep(TimeSpan);

Suspends the current thread for a specified time.

[Visual Basic] Overloads Public Shared Sub Sleep(Integer)
[C#] public static void Sleep(int);
[C++] public: static void Sleep(int);
[JScript] public static function Sleep(int);

See Also

Thread Class | Thread Members | System.Threading Namespace