MqttHelperBuildSubscribeMqttCommand 方法 |
创建Mqtt订阅消息的命令
Command to create Mqtt subscription message
命名空间:
HslCommunication.MQTT
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static OperateResult<byte[]> BuildSubscribeMqttCommand(
MqttSubscribeMessage message
)
Public Shared Function BuildSubscribeMqttCommand (
message As MqttSubscribeMessage
) As OperateResult(Of Byte())
public:
static OperateResult<array<unsigned char>^>^ BuildSubscribeMqttCommand(
MqttSubscribeMessage^ message
)
static member BuildSubscribeMqttCommand :
message : MqttSubscribeMessage -> OperateResult<byte[]>
参数
- message
- 类型:HslCommunication.MQTTMqttSubscribeMessage
订阅的主题
返回值
类型:
OperateResultByte结果内容
参见