点击或拖拽改变大小

MqttServerReportOperateResult 方法 (MqttSession, OperateResultString)

向客户端发布一个操作结果的信息,仅用于同步网络的时候反馈操作结果,该操作可能成功,可能失败,客户端就知道服务器发生了什么,以及结果如何。
Publish an operation result information to the client, which is only used to feed back the operation result when synchronizing the network. The operation may succeed or fail, and the client knows what happened to the server and the result.

命名空间:  HslCommunication.MQTT
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:11.8.2.0 (11.8.2.0)
语法
public void ReportOperateResult(
	MqttSession session,
	OperateResult<string> result
)

参数

session
类型:HslCommunication.MQTTMqttSession
当前的网络会话
result
类型:HslCommunicationOperateResultString
结果对象内容
参见