我要找調用多個異步操作與能力取消它們的簡單方法:如何等待多個異步操作完成
var cancelTask = new ManualResetEvent(false);
IAsyncResult ar = StartAsyncBatch(cancelTask);
int resp = WaitHandler.WaitAny({ar.AsyncWaitHandle, cancelTask});
我如何要建立StartAsyncBatch?它應該被派生類
class StartAsyncBatch : IAsyncResult