## Thread::Sleep(int) method


Arrête le thread actuel pendant le délai spécifié.

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


| Paramètre | Type | Description |
| --- | --- | --- |
| millisecondsTimeout | int | [Timeout](../../timeout/) pour dormir en millisecondes. |

## Voir aussi

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


Arrête le thread actuel pendant le délai spécifié.

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


| Paramètre | Type | Description |
| --- | --- | --- |
| timeout | TimeSpan | [Timeout](../../timeout/) pour dormir. |

## Voir aussi

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