System::Threading::Thread::Sleep 方法
Thread::Sleep(int) method
在指定的超时时间内停止当前线程。
static void System::Threading::Thread::Sleep(int millisecondsTimeout)
| 参数 | 类型 | 描述 |
|---|---|---|
| millisecondsTimeout | int | Timeout 用于以毫秒为单位的睡眠。 |
另见
- Class Thread
- Namespace System::Threading
- Library Aspose.Font for C++
Thread::Sleep(TimeSpan) method
在指定的超时时间内停止当前线程。
static void System::Threading::Thread::Sleep(TimeSpan timeout)
| 参数 | 类型 | 描述 |
|---|---|---|
| timeout | TimeSpan | Timeout 用于睡眠。 |
另见
- Class TimeSpan
- Class Thread
- Namespace System::Threading
- Library Aspose.Font for C++