private void SerialReadingAsyncReturn(IAsyncResult result) { StartSerialReadingHandle handler = (StartSerialReadingHandle)result.AsyncState; try { handler.EndInvoke(result); result.AsyncWaitHandle.Close(); } catch (Exception e) { ClassCommonSetting.ThrowException(handler, "SerialReading", e); } }