Constructor WinRTSerialDevice
| Edit this page View SourceWinRTSerialDevice(SerialDevice)
Initializes a new instance of the SerialPortDevice class.
Declaration
public WinRTSerialDevice(SerialDevice device)
Parameters
| Type | Name | Description |
|---|---|---|
| SerialDevice | device | The serial port. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | port |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Windows | main |
| UWP | main |