## Thread::Sleep(int) method


Ferma il thread corrente per il timeout specificato.

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


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| millisecondsTimeout | int | [Timeout](../../timeout/) per sospendere in millisecondi. |

## Vedi anche

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


Ferma il thread corrente per il timeout specificato.

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


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| timeout | TimeSpan | [Timeout](../../timeout/) per sospendere. |

## Vedi anche

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