| MqttCredential 类 | 
 继承层次
继承层次命名空间: HslCommunication.MQTT
 语法
语法MqttCredential 类型公开以下成员。
 构造函数
构造函数| 名称 | 说明 | |
|---|---|---|
|  | MqttCredential | 
            实例化一个默认的对象 Instantiate a default object | 
|  | MqttCredential(String, String) | 
            实例化指定的用户名和密码的对象 Instantiates an object with the specified username and password | 
 属性
属性 方法
方法| 名称 | 说明 | |
|---|---|---|
|  | 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。) | 
|  | ToString | Returns a string that represents the current object.(重写 ObjectToString.) | 
 扩展方法
扩展方法| 名称 | 说明 | |
|---|---|---|
|  | ToJsonString | 
            获取当前对象的JSON格式表示的字符串。(由 HslExtension 定义。) Gets the string represented by the JSON format of the current object. | 
 参见
参见