点击或拖拽改变大小

ConnectPoolTConnectorGetAvailableConnector 方法

获取一个可用的连接对象,如果已经达到上限,就进行阻塞等待。当使用完连接对象的时候,需要调用ReturnConnector(TConnector)方法归还连接对象。
Get an available connection object, if the upper limit has been reached, block waiting. When the connection object is used up, you need to call the ReturnConnector(TConnector) method to return the connection object.

命名空间:  HslCommunication.Algorithms.ConnectPool
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:12.0.0.0 (12.0.0.0)
语法
public TConnector GetAvailableConnector()

返回值

类型:TConnector
可用的连接对象
参见