获取或设置当前的服务器连接是否成功,定时获取本属性可用于实时更新连接状态信息。
Get or set whether the current server connection is successful or not.
This property can be obtained regularly and can be used to update the connection status information in real time.
命名空间:
HslCommunication.MQTT
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public bool IsConnected { get; }
Public ReadOnly Property IsConnected As Boolean
Get
public:
property bool IsConnected {
bool get ();
}
member IsConnected : bool with get
属性值
类型:
Boolean参见