Schedules a light-weight task within the schedule group.
virtual void ScheduleTask(
_Inout_opt_ void * _Data
A pointer to the function to execute to perform the body of the light-weight task.
A void pointer to the data that will be passed as a parameter to the body of the task.
Calling the ScheduleTask method implicitly places a reference count on the schedule group which is removed by the runtime at an appropriate time after the task executes.