OnPortLost Event
This event is triggered when a COM port is removed while it is opened (e.g. using USB to Serial cable).
Syntax
| Visual Basic .NET | Sub OnPortLost(ByVal Sender As Object)  | 
 
|---|---|
| Visual C# | void OnPortLost(object Sender);  | 
 
Parameters
Sender
Event source.
Serial Port Control API
- Overview
 ActiveX Component Reference
- Getting Started
 FTSPCControl Class
Methods
- Close Method
 - Open Method
 - SetSettingsFromString Method
 - EnumSerialPorts Method
 - GetSerialPort Method
 - GetSerialPortDescription Method
 - Read Method
 - ReadArray Method
 - ReadArrayOverlapped Method
 - ReadOverlapped Method
 - Write Method
 - WriteArray Method
 - WriteArrayOverlapped Method
 - WriteOverlapped Method
 - CancelIO Method
 - Flush Method
 - GetLastError Method
 - PurgeQueue Method
 - SetBreak Method
 
Properties
- BaudRate Property
 - DataBits Property
 - FlowControl Property
 - Parity Property
 - PortName Property
 - StopBits Property
 - Cts Property
 - Dcd Property
 - Dsr Property
 - Dtr Property
 - Ring Property
 - Rts Property
 - ReadIntervalTimeout Property
 - ReadTotalTimeoutConstant Property
 - ReadTotalTimeoutMultiplier Property
 - WriteTotalTimeoutConstant Property
 - WriteTotalTimeoutMultiplier Property
 - EofChar Property
 - ErrorChar Property
 - EventChar Property
 - XoffChar Property
 - XonChar Property
 - AutoOpen Property
 - DiscardNull Property
 - InQUsedBytes Property
 - IsOpened Property
 - RxThreshold Property
 
FTSPCOverlapped Class
Methods
.NET Component Reference
- Getting Started
 FTSPCControl Class
Methods
- Close Method
 - Open Method
 - SetSettingsFromString Method
 - EnumSerialPorts Method
 - GetSerialPort Method
 - GetSerialPortDescription Method
 - Read Method
 - ReadArray Method
 - ReadArrayOverlapped Method
 - ReadOverlapped Method
 - Write Method
 - WriteArray Method
 - WriteArrayOverlapped Method
 - WriteOverlapped Method
 - CancelIO Method
 - Flush Method
 - PurgeQueue Method
 - SetBreak Method
 
Properties
- BaudRate Property
 - DataBits Property
 - FlowControl Property
 - Parity Property
 - PortName Property
 - StopBits Property
 - Cts Property
 - Dcd Property
 - Dsr Property
 - Dtr Property
 - Ring Property
 - Rts Property
 - ReadIntervalTimeout Property
 - ReadTotalTimeoutConstant Property
 - ReadTotalTimeoutMultiplier Property
 - WriteTotalTimeoutConstant Property
 - WriteTotalTimeoutMultiplier Property
 - EofChar Property
 - ErrorChar Property
 - EventChar Property
 - XoffChar Property
 - XonChar Property
 - AutoOpen Property
 - DiscardNull Property
 - InQUsedBytes Property
 - IsOpened Property
 - RxThreshold Property
 
FTSPCOverlapped Class
Methods
FTSPCException Class
Properties
Borland Component Reference
- Getting Started
 FTSPCControl Class
Methods
- Close Method
 - Open Method
 - SetSettingsFromString Method
 - EnumSerialPorts Method
 - GetSerialPort Method
 - GetSerialPortDescription Method
 - Read Method
 - ReadArray Method
 - ReadArrayOverlapped Method
 - ReadOverlapped Method
 - Write Method
 - WriteArray Method
 - WriteArrayOverlapped Method
 - WriteOverlapped Method
 - CancelIO Method
 - Flush Method
 - PurgeQueue Method
 - SetBreak Method
 
Properties
- BaudRate Property
 - DataBits Property
 - FlowControl Property
 - Parity Property
 - PortName Property
 - StopBits Property
 - Cts Property
 - Dcd Property
 - Dsr Property
 - Dtr Property
 - Ring Property
 - Rts Property
 - ReadIntervalTimeout Property
 - ReadTotalTimeoutConstant Property
 - ReadTotalTimeoutMultiplier Property
 - WriteTotalTimeoutConstant Property
 - WriteTotalTimeoutMultiplier Property
 - EofChar Property
 - ErrorChar Property
 - EventChar Property
 - XoffChar Property
 - XonChar Property
 - AutoOpen Property
 - DiscardNull Property
 - InQUsedBytes Property
 - IsOpened Property
 - RxThreshold Property
 
FTSPCOverlapped Class
Methods
FTSPCException Class
Properties