Constructor SerialPortDevice
| Edit this page View SourceSerialPortDevice(SerialDevice)
Initializes a new instance of the SerialPortDevice class.
Declaration
public SerialPortDevice(SerialDevice device)
Parameters
Type | Name | Description |
---|---|---|
SerialDevice | device | The serial port. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | port |
Applies to
Platforms and versions
Target | Versions |
---|---|
UWP | main, v3.0, v2.2, v2.1, v2.0 |