System::Threading::Thread::Sleep method
Thread::Sleep(int) method
Stops current thread for specified timeout.
static void System::Threading::Thread::Sleep(int millisecondsTimeout)
Parameter | Type | Description |
---|---|---|
millisecondsTimeout | int | Timeout to sleep in milliseconds. |
See Also
- Class Thread
- Namespace System::Threading
- Library Aspose.PUB for C++
Thread::Sleep(TimeSpan) method
Stops current thread for specified timeout.
static void System::Threading::Thread::Sleep(TimeSpan timeout)
Parameter | Type | Description |
---|---|---|
timeout | TimeSpan | Timeout to sleep. |
See Also
- Class TimeSpan
- Class Thread
- Namespace System::Threading
- Library Aspose.PUB for C++