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: 3c9121baba46811fe6e53a58a05935662261416d
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