ISettingsPresenterProviderTestSerialConnection Method |
Returns the exception (if any) that was thrown while attempting to establish a connection to a data feed
using the serial settings passed across.
Namespace: VirtualRadar.Interface.PresenterAssembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax Exception TestSerialConnection(
string comPort,
int baudRate,
int dataBits,
StopBits stopBits,
Parity parity,
Handshake handShake
)
Function TestSerialConnection (
comPort As String,
baudRate As Integer,
dataBits As Integer,
stopBits As StopBits,
parity As Parity,
handShake As Handshake
) As Exception
Exception^ TestSerialConnection(
String^ comPort,
int baudRate,
int dataBits,
StopBits stopBits,
Parity parity,
Handshake handShake
)
abstract TestSerialConnection :
comPort : string *
baudRate : int *
dataBits : int *
stopBits : StopBits *
parity : Parity *
handShake : Handshake -> Exception
Parameters
- comPort
- Type: SystemString
- baudRate
- Type: SystemInt32
- dataBits
- Type: SystemInt32
- stopBits
- Type: System.IO.PortsStopBits
- parity
- Type: System.IO.PortsParity
- handShake
- Type: System.IO.PortsHandshake
Return Value
Type:
ExceptionSee Also