您的位置:首页 > 其它

Exception : The underlying connection was closed: A connection that was expected to be kept alive was closed by the server

2013-03-01 14:41 681 查看
Exception details:

System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server.


ServiceDebugBehavior has a IncludeExceptionDetailInFaults property transfer can be used to open the exception details to the client.

<serviceDebug includeExceptionDetailInFaults="true" />


If we need to receive the FaultException info, so we can set up the includeExceptionDetailInFaults property to 'true'. Or else set up to 'false'.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐