NetworkDoubleBaseConnectClose 方法 |
手动断开与远程服务器的连接,如果当前是长连接模式,那么就会切换到短连接模式
Manually disconnect from the remote server, if it is currently in long connection mode, it will switch to short connection mode
命名空间:
HslCommunication.Core.Net
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public OperateResult ConnectClose()
Public Function ConnectClose As OperateResult
public:
OperateResult^ ConnectClose()
member ConnectClose : unit -> OperateResult
返回值
类型:
OperateResult关闭连接,不需要查看IsSuccess属性查看
示例 参见