## Thread::Sleep(int) method


Stopt de huidige thread voor de opgegeven time-out.

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


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| millisecondsTimeout | int | [Timeout](../../timeout/) om te slapen in milliseconden. |

## Zie ook

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


Stopt de huidige thread voor de opgegeven time-out.

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


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| timeout | TimeSpan | [Timeout](../../timeout/) om te slapen. |

## Zie ook

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