Méthode System::Threading::Tasks::Delay
System::Threading::Tasks::Delay(int32_t) method
Crée une tâche qui se termine après un délai.
TaskPtr System::Threading::Tasks::Delay(int32_t millisecondsDelay)
| Paramètre | Type | Description |
|---|---|---|
| millisecondsDelay | int32_t | Le nombre de millisecondes à attendre avant de terminer la tâche retournée, ou -1 pour attendre indéfiniment. |
ReturnValue
Une tâche qui représente le délai temporel.
Voir aussi
- Typedef TaskPtr
- Namespace System::Threading::Tasks
- Library Aspose.Page for C++
System::Threading::Tasks::Delay(int32_t, const CancellationToken&) method
TaskPtr System::Threading::Tasks::Delay(int32_t millisecondsDelay, const CancellationToken &cancellationToken)
Voir aussi
- Typedef TaskPtr
- Class CancellationToken
- Namespace System::Threading::Tasks
- Library Aspose.Page for C++