Hi,
i didnt find this exception (TimeoutException ) in micro .net.
i want it for something like this:
(i want to catch specific exception, i confiured the read timeout for 60 seconds)
try
{
rS232.serialPort.WriteLine("Init Ready");
rS232.serialPort.Read(initBuffer, 0, INIT_PACKET_SIZE);
}
catch (TimeoutException e)
{
rS232.serialPort.WriteLine("Init failed");
}
am i miss something? can i use other exception for this timeout…