Receive characters from the ASCOM serial port until the given terminator string is seen

Namespace: ASCOM.Utilities.Interfaces
Assembly: ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 6.0.0.0 (6.1.1.2619)

Syntax

C#
string ReceiveTerminated(
	string Terminator
)
Visual Basic
Function ReceiveTerminated ( _
	Terminator As String _
) As String
Visual C++
String^ ReceiveTerminated(
	String^ Terminator
)

Parameters

Terminator
Type: System..::..String
The character string that indicates end of message

Return Value

Received characters including the terminator string

Remarks

If a timeout occurs, a TimeoutException is raised.

See Also