Click or drag to resize
SerialReceiveTimeoutMs Property
The maximum time that the ASCOM serial port will wait for incoming receive data (milliseconds, default = 5000)

Namespace: ASCOM.Utilities
Assembly: ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 6.0.0.0 (6.3.0.2839)
Syntax
public int ReceiveTimeoutMs { get; set; }

Property Value

Type: Int32
Integer, serial port timeout in milli-seconds

Return Value

Type: Int32
Integer, serial port timeout in milli-seconds
Exceptions
ExceptionCondition
InvalidValueExceptionThrown when value is invalid.
Remarks
If a timeout occurs, an IO timeout error is raised. See ReceiveTimeout for an alternate form using the timeout in seconds.
See Also