点击或拖拽改变大小

MqttServerOnClientSubscribe 事件

订阅主题事件,当客户端订阅主题时触发,返回 0 标识订阅通过,返回 其他值标识订阅失败
Subscribe to the topic event. This triggers when the client subscribes to the topic. Returns 0 to indicate successful subscription, and returns other values to indicate subscription failure.

命名空间:  HslCommunication.MQTT
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:12.9.1.0 (12.9.1.0)
语法
public event MqttServerOnClientSubscribeDelegate OnClientSubscribe

类型:HslCommunication.MQTTMqttServerOnClientSubscribeDelegate
参见