0
有这样的功能:等待功能在Windows手机进行
public MImage ImageHandler (parameter){
// do something
}
该功能将根据参数需要一段时间,现在我要监控这一函数的执行,并做一些事情功能完成后,像这样:
//call this function
Task task = new task(ImageHandler(parameter));
task.begin();
task.done +=(()={ // do something after the function is done});
那么我该如何解决?
在此先感谢。