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.1.2.0 (12.1.2.0)
语法 public TConnector GetAvailableConnector()
Public Function GetAvailableConnector As TConnector
public:
TConnector GetAvailableConnector()
member GetAvailableConnector : unit -> 'TConnector
返回值
类型:
TConnector可用的连接对象
参见