TaskFactory<TResult>.ContinueWhenAny Method (Task, Func<Task, TResult>)
Creates a continuation task that will be started upon the completion of any task in the provided set.
Assembly: mscorlib (in mscorlib.dll)
public Task<TResult> ContinueWhenAny( Task tasks, Func<Task, TResult> continuationFunction )
The array of tasks from which to continue when one task completes.