.Net Remoting 排错笔记:An existing connection was forcibly closed by the remote host
错误提示:
An existing connection was forcibly closed by the remote host
场景:
客户端订阅服务器端事件后,未取消订阅退出或意外退出,当服务器端试图激发该事件时发生。
解决措施:
客户端在退出前必须取消事件订阅。对于意外退出,服务器端应作充分的异常处理。
An existing connection was forcibly closed by the remote host
场景:
客户端订阅服务器端事件后,未取消订阅退出或意外退出,当服务器端试图激发该事件时发生。
解决措施:
客户端在退出前必须取消事件订阅。对于意外退出,服务器端应作充分的异常处理。