طريقة 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 للنوم.

انظر أيضًا