MqttConnectionOptionsConnectTimeout 属性 |
连接到服务器的超时时间,默认是5秒,单位是毫秒
The timeout period for connecting to the server, the default is 5 seconds, the unit is milliseconds
命名空间:
HslCommunication.MQTT
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public int ConnectTimeout { get; set; }
Public Property ConnectTimeout As Integer
Get
Set
public:
property int ConnectTimeout {
int get ();
void set (int value);
}
member ConnectTimeout : int with get, set
属性值
类型:
Int32参见