一款简单易用的基础网络通讯组件库。

SerialPortClientBaseAbort 方法

中止连接方法

Definition

命名空间: TouchSocket.SerialPorts
程序集: TouchSocket.SerialPorts (在 TouchSocket.SerialPorts.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
C#
protected void Abort(
	bool manual,
	string msg
)

参数

manual  Boolean
是否为手动断开连接
msg  String
断开连接的原因

参见