Construct a new DynamicTask to run.
the task to construct and run when the DynamicTask starts running.