For an example of .ContinueWith() see:
Chaining Tasks by Using Continuation Tasks | Microsoft Docs[
^]
It should look like this:
taskA.ContinueWith(Sub(antecedent)
Console.WriteLine("Today is {0}.", antecedent.Result)
End Sub)
You might also need a higher version of the .NET framework, 4.5 or higher.