点击或拖拽改变大小

SubscribeTopic 方法

SubscribeTopic 类型公开以下成员。

方法
  名称说明
公共方法AddSubscribeTick
增加一个订阅的计数信息,不需要手动调用,在 MqttClient 订阅主题之后,会自动增加
Add a subscription count information, no need to manually call it, it will be automatically added after MqttClient subscribes to the topic
公共方法Equals
Determines whether the specified object is equal to the current object.
(继承自 Object。)
受保护的方法Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(继承自 Object。)
公共方法GetHashCode
Serves as the default hash function.
(继承自 Object。)
公共方法GetType
Gets the Type of the current instance.
(继承自 Object。)
受保护的方法MemberwiseClone
Creates a shallow copy of the current Object.
(继承自 Object。)
公共方法RemoveSubscribeTick
减少一个订阅的计数信息,用户可以手动调用,比如判断是否是最后一次移除,然后决定是否通过 MqttClient 取消订阅主题
Reduce the count information of a subscription, the user can call it manually, such as judging whether it is the last removal, and then decide whether to unsubscribe the topic through MqttClient
公共方法ToString
Returns a string that represents the current object.
(重写 ObjectToString.)
公共方法TriggerSubscription
使用指定的参数,触发订阅主题的事件
Using the specified parameters, trigger the event of the subscribed topic
Top
扩展方法
  名称说明
公共扩展器方法ToJsonString
获取当前对象的JSON格式表示的字符串。
Gets the string represented by the JSON format of the current object.
(由 HslExtension 定义。)
Top
参见