private IVirtualTask NewTask(ManagementBaseObject outParameters, ManagementScope scope) { currentTask = new HyperVTask(outParameters, scope); taskList.Add(currentTask); return(currentTask); }
private IVirtualTask NewTask(UInt32 returnValue) { currentTask = new HyperVTask(returnValue); taskList.Add(currentTask); return(currentTask); }