点击或拖拽改变大小

MqttConnectionOptionsConnectTimeout 属性

连接到服务器的超时时间,默认是5秒,单位是毫秒
The timeout period for connecting to the server, the default is 5 seconds, the unit is milliseconds

命名空间:  HslCommunication.MQTT
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:11.8.2.0 (11.8.2.0)
语法
public int ConnectTimeout { get; set; }

属性值

类型:Int32
参见