Class CellProtocolErrorEventArgs
协议错误事件参数(结构化——事件携带码、细节与帧取证;畸形必报告,绝不静默丢,D5)。
public sealed class CellProtocolErrorEventArgs : EventArgs
- Inheritance
-
CellProtocolErrorEventArgs
- Inherited Members
Constructors
CellProtocolErrorEventArgs(CellProtocolError, string, int)
构造事件参数。
public CellProtocolErrorEventArgs(CellProtocolError error, string detail, int frameLength)
Parameters
errorCellProtocolErrordetailstringframeLengthint
Properties
Detail
人读细节(取证用——不含区域性格式化数字以外的本地化内容)。
public string Detail { get; }
Property Value
Error
协议错误码。
public CellProtocolError Error { get; }
Property Value
FrameLength
涉事帧长(帧体字节数;分帧前错误为 -1)。
public int FrameLength { get; }