System::Threading::Tasks::Task::Wait méthode

Task::Wait() method

Attend que la tâche se termine.

void System::Threading::Tasks::Task::Wait()

Voir aussi

Task::Wait(const CancellationToken&) method

Attend que la tâche se termine avec prise en charge de l’annulation.

void System::Threading::Tasks::Task::Wait(const CancellationToken &cancellationToken)
ParamètreTypeDescription
cancellationTokenconst CancellationToken&Jeton pour surveiller l’annulation pendant l’attente

Voir aussi