المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Serial port open is not throwing exception



C# Programming
03-18-2010, 05:02 AM
As the title says System.IO.Ports.SerialPort.Open() is catching TimeoutException popping a MessageBox and continuing to try to connect until I call close. I would prefer to catch the exception myself. Is there a setting somewhere in my VS8 that controls this? I don't see anything in the docs that mention it.
TIA,
Greg.