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

SerialOperationResult 构造函数

初始化SerialOperationResult结构体的实例。

Definition

命名空间: TouchSocket.SerialPorts
程序集: TouchSocket.SerialPorts (在 TouchSocket.SerialPorts.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
C#
public SerialOperationResult(
	int bytesToRead,
	SerialData eventType
)

参数

bytesToRead  Int32
要读取的字节数。
eventType  SerialData
串行数据事件类型。

参见