MqttSyncClientConnectionOptions 属性 |
获取或设置当前的连接信息,客户端将根据这个连接配置进行连接服务器,在连接之前需要设置相关的信息才有效。
To obtain or set the current connection information, the client will connect to the server according to this connection configuration.
Before connecting, the relevant information needs to be set to be effective.
命名空间:
HslCommunication.MQTT
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public MqttConnectionOptions ConnectionOptions { get; set; }
Public Property ConnectionOptions As MqttConnectionOptions
Get
Set
public:
property MqttConnectionOptions^ ConnectionOptions {
MqttConnectionOptions^ get ();
void set (MqttConnectionOptions^ value);
}
member ConnectionOptions : MqttConnectionOptions with get, set
属性值
类型:
MqttConnectionOptions参见