ConnectPoolTConnectorConectionExpireTime 属性 |
获取或设置当前连接过期的时间,单位秒,默认30秒,也就是说,当前的连接在设置的时间段内未被使用,就进行释放连接,减少内存消耗。
Get or set the expiration time of the current connection, in seconds, the default is 30 seconds, that is,
if the current connection is not used within the set time period, the connection will be released to reduce memory consumption.
命名空间:
HslCommunication.Algorithms.ConnectPool
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public int ConectionExpireTime { get; set; }
Public Property ConectionExpireTime As Integer
Get
Set
public:
property int ConectionExpireTime {
int get ();
void set (int value);
}
member ConectionExpireTime : int with get, set
属性值
类型:
Int32参见