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)
ParametroTipoDescrizione
millisecondsDelayint32_tIl 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

System::Threading::Tasks::Delay(int32_t, const CancellationToken&) method

TaskPtr System::Threading::Tasks::Delay(int32_t millisecondsDelay, const CancellationToken &cancellationToken)

Vedi anche