MqttServerSyncClientActiveTime 属性 |
同步客户端超时时间,当同步客户端不活动时间超过该时间时,将会强制下线,默认为24小时
Set the timeout duration for the synchronization client. If the synchronization client remains inactive for longer than this period, it will be forcibly disconnected.
命名空间:
HslCommunication.MQTT
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.9.1.0 (12.9.1.0)
语法public TimeSpan SyncClientActiveTime { get; set; }Public Property SyncClientActiveTime As TimeSpan
Get
Set
public:
property TimeSpan SyncClientActiveTime {
TimeSpan get ();
void set (TimeSpan value);
}member SyncClientActiveTime : TimeSpan with get, set
属性值
类型:
TimeSpan
参见