SoapException.ServerFaultCode Field
Specifies a SOAP fault code representing an error occurred during the processing of a client call on the server, where the problem was not due to the message contents.
[Visual Basic] Public Shared ReadOnly ServerFaultCode As XmlQualifiedName [C#] public static readonly XmlQualifiedName ServerFaultCode; [C++] public: static XmlQualifiedName* ServerFaultCode; [JScript] public static var ServerFaultCode : XmlQualifiedName;
Remarks
A ServerFaultCode might occur for example, if a server being called, couldn't respond to a request due to network problems. Typically, with this type of exception, the client call may succeed later.
If an XML Web service throws an exception, other than the SoapException and the client is communicating with the XML Web service using the SOAP protococl, ASP.NET returns a SOAP fault. The .NET Framework running on the client machine converts that SOAP fault into a SoapException, setting the Code property to ServerFaultCode and throws that exception to the client.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework
See Also
SoapException Class | SoapException Members | System.Web.Services.Protocols Namespace | ReceiverFaultCode