System::Threading::Tasks::ResultTask::ContinueWith method

ResultTask::ContinueWith method

Maakt een voortzetting aan die wordt uitgevoerd wanneer de resultaattaak voltooid is.

TaskPtr System::Threading::Tasks::ResultTask<T>::ContinueWith(const Action<RTaskPtr<T>> &continuationAction)
ParameterTypeBeschrijving
continuationActionconst Action<RTaskPtr<T>>&Action om uit te voeren wanneer deze taak voltooid is, waarbij deze resulttask wordt ontvangen.

ReturnValue

TaskPtr A new task representing the continuation

Opmerkingen

De voortzettingactie ontvangt deze ResultTask om de resultaatwaarde te benaderen.

Zie ook