Clears the ASCOM serial port receive and transmit buffers

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

Syntax

C#
public void ClearBuffers()
Visual Basic
Public Sub ClearBuffers
Visual C++
public:
virtual void ClearBuffers() sealed

Implements

ISerial..::..ClearBuffers()()()()

Remarks

Exceptions

ExceptionCondition
ASCOM.Utilities.Exceptions..::..SerialPortInUseExceptionThrown when unable to acquire the serial port

See Also