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

SerialOperationResult 构造函数

初始化SerialOperationResult结构体的实例。

Definition

命名空间: TouchSocket.SerialPorts
程序集: TouchSocket.SerialPorts (在 TouchSocket.SerialPorts.dll 中) 版本:4.0.0-beta.143+5fcca7a4e70968794985dc3793adc50531308be6
C#
public SerialOperationResult(
	int bytesToRead,
	SerialData eventType
)

参数

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

参见