MqttServerGetAllRetainTopics 方法 |
获取所有的驻留的消息的主题,如果消息发布的时候没有使用Retain属性,就无法通过本方法查到
Get the subject of all resident messages. If the Retain attribute is not used when the message is published, it cannot be found by this method
命名空间:
HslCommunication.MQTT
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public string[] GetAllRetainTopics()
Public Function GetAllRetainTopics As String()
public:
array<String^>^ GetAllRetainTopics()
member GetAllRetainTopics : unit -> string[]
返回值
类型:
String主题的数组
参见