本文介绍了为什么DisableEnpoint没有关闭底层TCP会话?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
启用用户的最佳方法是什么以干净的方式登录和注销?当我禁用端点时 - 底层TCP没有关闭,但当我尝试调用EnableEndpoint时,我得到一个COMException - 0x80EE0061,INVALID_OBJECT_STATE。
解决方案
What is the best way to enable the user to login and logout in a clean way? When I disable the endpoint - the underlying TCP is not closed, but when I try to call EnableEndpoint back, I get a COMException - 0x80EE0061, INVALID_OBJECT_STATE.
09-07 12:34