## Thread::Sleep(int) method


يوقف الخيط الحالي لمدة زمنية محددة.

```cpp
static void System::Threading::Thread::Sleep(int millisecondsTimeout)
```


| معامل | نوع | الوصف |
| --- | --- | --- |
| millisecondsTimeout | int | [Timeout](../../timeout/) للنوم بالمللي ثانية. |

## انظر أيضًا

* Class [Thread](../)
* Namespace [System::Threading](../../)
* Library [Aspose.Font for C++](../../../)
## Thread::Sleep(TimeSpan) method


يوقف الخيط الحالي لمدة زمنية محددة.

```cpp
static void System::Threading::Thread::Sleep(TimeSpan timeout)
```


| معامل | نوع | الوصف |
| --- | --- | --- |
| timeout | TimeSpan | [Timeout](../../timeout/) للنوم. |

## انظر أيضًا

* Class [TimeSpan](../../../system/timespan/)
* Class [Thread](../)
* Namespace [System::Threading](../../)
* Library [Aspose.Font for C++](../../../)
