public AddTask ( TaskFunction function, TaskComplete completion, TaskContext ctx ) : System.Threading.Task | ||
function | TaskFunction | The function to call within the thread. |
completion | TaskComplete | The callback to report results to, or null. If /// you care about which particular task has completed, use a different instance /// for this delegate per task (typically, a delegate on the task itself). |
ctx | TaskContext | A previously allocated TaskContext, to allow for waiting /// on the task, or null. It cannot have been already used. |
return | System.Threading.Task |