有关错误代码和详细信息,请参见内部FaultException.

编程入门 行业动态 更新时间:2024-10-27 19:25:01
本文介绍了有关错误代码和详细信息,请参见内部FaultException.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

错误的显示时间如下所示, 接收到来自另一方的不安全或不正确安全的故障.有关错误代码和详细信息,请参见内部FaultException. 我发现有趣的帖子,但由于我了解得不多,所以没有成效, blogs.microsoft.co.il/blogs/mcs/archive/2008/06/24/the-limitations-of-wcf-sessions-part-1-transport-level-dependence.aspx HE提及如下: 但是,使用WsHttpBinding时,WCF的传输层抽象层下的接缝开始破裂.该异常的类型为"System.ServiceModel.Security.MessageSecurityException",并且消息为: ``从另一方收到了不安全或不正确安全的故障.有关错误代码和详细信息,请参见内部FaultException. 请帮助

Error displays sometime like below , An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail. Interesting post i found but not productive as i dint understood much , blogs.microsoft.co.il/blogs/mcs/archive/2008/06/24/the-limitations-of-wcf-sessions-part-1-transport-level-dependence.aspx HE Mentioned like: "However, when using WsHttpBinding, the seams under WCF’s transport-level abstraction layer start to crack. The exception is of type "System.ServiceModel.Security.MessageSecurityException" and the message is: ''An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail please help

推荐答案

System.Exception具有InnerException属性 msdn.microsoft/en-us/library/system.exception. innerexception.aspx [ ^ ] 也许无论发生什么情况,您都可以捕获异常,找出特定类型,将其强制转换为该类型,并检查一个名为FaultException的属性. System.Exception has an InnerException Property msdn.microsoft/en-us/library/system.exception.innerexception.aspx[^] Maybe whatever is happening you can catch the exception, find out the specific type, cast to that type, and check for a property called FaultException.

更多推荐

有关错误代码和详细信息,请参见内部FaultException.

本文发布于:2023-10-09 21:11:12,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1476795.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:详细信息   错误代码   FaultException

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!