Share via


SerialPort Constructor

Initializes a new instance of the SerialPort class.

Overload List

Name Description
SerialPort (String) Initializes a new instance of the SerialPort class using the specified port name.
SerialPort (String, Int32) Initializes a new instance of the SerialPort class using the specified port name and baud rate.
SerialPort (String, Int32, Parity) Initializes a new instance of the SerialPort class using the specified port name, baud rate, and parity bit.
SerialPort (String, Int32, Parity, Int32) Initializes a new instance of the SerialPort class using the specified port name, baud rate, parity bit, and data bits.
SerialPort (String, Int32, Parity, Int32, StopBits) Initializes a new instance of the SerialPort class using the specified port name, baud rate, parity bit, data bits, and stop bit.

Version Information

Available in the .NET Micro Framework version 4.1 and 4.2.

See Also

Reference

SerialPort Class
SerialPort Members
System.IO.Ports Namespace