SubscribeTopicTriggerSubscription 方法 |
使用指定的参数,触发订阅主题的事件
Using the specified parameters, trigger the event of the subscribed topic
命名空间:
HslCommunication.MQTT
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public void TriggerSubscription(
MqttClient client,
MqttApplicationMessage message
)
Public Sub TriggerSubscription (
client As MqttClient,
message As MqttApplicationMessage
)
public:
void TriggerSubscription(
MqttClient^ client,
MqttApplicationMessage^ message
)
member TriggerSubscription :
client : MqttClient *
message : MqttApplicationMessage -> unit
参数
- client
- 类型:HslCommunication.MQTTMqttClient
客户端会话信息 - message
- 类型:HslCommunication.MQTTMqttApplicationMessage
Mqtt主题消息
参见