SerialPortOptionHandshake 属性
Gets or sets the handshaking protocol for serial port transmission of data using a value from Handshake.
命名空间: TouchSocket.SerialPorts程序集: TouchSocket.SerialPorts (在 TouchSocket.SerialPorts.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
public Handshake Handshake { get; set; }
Public Property Handshake As Handshake
Get
Set
member Handshake : Handshake with get, set
返回值
HandshakeOne of the
Handshake values. The default is
None.
IOException | The port is in an invalid state.
-or-
An attempt to set the state of the underlying port failed. For example, the parameters passed from this SerialPort object were invalid. |
ArgumentOutOfRangeException | The value passed is not a valid value in the Handshake enumeration. |