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