私は実行する必要がある一連のステップを持っています..言うことができます:
step1 -- 完了したら -- step2 を実行
step2 -- 完了したら -- step3 を実行
step3 -- 完了したら -- step4 を実行
step4 -- 完了したら -- step5 を実行
ステップ5
これらの手順は、UI のブロック (async の呼び出し) なしで実行する必要があります。TPL タスク並列ライブラリを使用してこれを行う方法について提案が必要です。
ContinueWith ()を使用できます。
Task t1 = new Task(...);
Task t2 = t1.ContinueWith(()=>{ ... });
Task t3 = t2.ContinueWith(()=>{ ... });
Task t4 = t3.ContinueWith(()=>{ ... });
Task t5 = t4.ContinueWith(()=>{ ... });
t1.Start();