摘要:
封装一个MTA的WaitALLclass MtaWaitAllWrapper { readonly WaitHandle[] waitHandles; readonly int millisecondsTimeout; bool waitResult; Exception error; MtaWaitAllWrapper(int millisecondsTimeout, params WaitHandle[] waitHandles) { if (waitHandles == null) throw new ArgumentNullException(@"waitHandles&qu 阅读全文