private void AsyncPowerPoint2Pdf(string strPPTPath) { //Interlocked.Increment(ref m_ThreadCount); PowerPoint2Pdf p2p = new PowerPoint2Pdf(); p2p.FilePathPowerPoint = strPPTPath; m_DeConvert[2] = p2p.ToPdf; IAsyncResult ar = m_DeConvert[2].BeginInvoke(new AsyncCallback(callbackPowerPoint2PdfConvert), m_DeConvert[2]); //ThreadPool.QueueUserWorkItem(new WaitCallback(callbackPowerPoint2PdfConvert), m_DeConvert[2]); }