## Thread::Sleep(int) method


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

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


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

## انظر أيضًا

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


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

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


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

## انظر أيضًا

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