Metodo System::Threading::Tasks::Delay
System::Threading::Tasks::Delay(int32_t) method
Crea un task che si completa dopo un ritardo temporale.
TaskPtr System::Threading::Tasks::Delay(int32_t millisecondsDelay)
| Parametro | Tipo | Descrizione |
|---|---|---|
| millisecondsDelay | int32_t | Il numero di millisecondi da attendere prima di completare il task restituito, o -1 per attendere indefinitamente. |
ReturnValue
Un task che rappresenta il ritardo temporale.
Vedi anche
- 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)
Vedi anche
- Typedef TaskPtr
- Class CancellationToken
- Namespace System::Threading::Tasks
- Library Aspose.Page for C++