OperateResultErrorCode 属性 |
具体的错误代码。
The specific error code.
命名空间:
HslCommunication
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public int ErrorCode { get; set; }
Public Property ErrorCode As Integer
Get
Set
public:
property int ErrorCode {
int get ();
void set (int value);
}
member ErrorCode : int with get, set
属性值
类型:
Int32备注
默认的错误码值为 10000,此时需要看
Message 的消息来查看错误信息,如果由于网络问题导致的错误,错误码小于 0,
其他情况的错误都是对应协议的错误码,有些错误码的描述信息可以看
Message,如果消息也是未知的话,此时需要根据错误码找对应协议的手册来确认错误消息。
The default error code value is 10000. In this case, you need to view the
Message message to view the error information.
If the error code is less than 0 due to network problems, the error code in other cases is the error code of the corresponding protocol.
You can see
Message for the description of some error codes. If the message is also unknown, you need to refer to the manual of the corresponding protocol to confirm the error message.
参见