void f_callbackProcessMessage(IAsyncResult asyncRes) { AsyncResult ares = (AsyncResult)asyncRes; ProcessMessage delg = (ProcessMessage)ares.AsyncDelegate; Message result = delg.EndInvoke(asyncRes); this.f_PROCESS_MESSAGE_CALLBACK_RESULT(result); //Thread.Sleep(1000); f_runLoop(this.Handle); }
void f_callbackProcessMessage(IAsyncResult asyncRes) { AsyncResult ares = (AsyncResult)asyncRes; ProcessMessage delg = (ProcessMessage)ares.AsyncDelegate; Message result = delg.EndInvoke(asyncRes); this.f_processMessageCallbackResult(result); //Thread.Sleep(1000); f_runLoop(this.Handle); }