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.1.1.2619)

Syntax

C#
public int ReceiveTimeoutMs { get; set; }
Visual Basic
Public Property ReceiveTimeoutMs As Integer
	Get
	Set
Visual C++
public:
virtual property int ReceiveTimeoutMs {
	int get () sealed;
	void set (int value) sealed;
}

Field Value

Integer, serial port timeout in milli-seconds

Return Value

Integer, serial port timeout in milli-seconds

Implements

ISerial..::..ReceiveTimeoutMs

Remarks

If a timeout occurs, an IO timeout error is raised. See ReceiveTimeout for an alternate form using the timeout in seconds.

Exceptions

ExceptionCondition
ASCOM..::..InvalidValueExceptionThrown when value is invalid.

See Also