System::Threading::Thread::Sleep メソッド

Thread::Sleep(int) method

指定されたタイムアウトで現在のスレッドを停止します。

static void System::Threading::Thread::Sleep(int millisecondsTimeout)
パラメーター説明
millisecondsTimeoutintTimeout をミリ秒単位でスリープさせる。

参照

Thread::Sleep(TimeSpan) method

指定されたタイムアウトで現在のスレッドを停止します。

static void System::Threading::Thread::Sleep(TimeSpan timeout)
パラメーター説明
timeoutTimeSpanTimeout をスリープさせる。

参照