错误的显示时间如下所示, 接收到来自另一方的不安全或不正确安全的故障.有关错误代码和详细信息,请参见内部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.
发布评论