Soap12FaultCodes.ReceiverFaultCode Field

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Represents the SOAP version 1.2 Receiver fault code indicating an error occurred during the processing of a client call on the server due to a problem with the recipient.

Namespace:   System.Web.Services.Protocols
Assembly:  System.Web.Services (in System.Web.Services.dll)

public static readonly XmlQualifiedName ReceiverFaultCode

Field Value

Type: System.Xml.XmlQualifiedName

A SoapException is thrown with the Code property set to ReceiverFaultCode when a server is called and it could not respond to a request due to network problems. Typically, with this type of exception, the client call may succeed later.

The Receiver SOAP fault code is similar to the Server fault code, which is represented by the ServerFaultCode field, but the Server fault code is used when the SOAP request is sent using SOAP 1.1. To check whether the Code property is either the Receiver or Server SOAP fault codes, call the IsServerFaultCode method.

.NET Framework
Available since 2.0
Return to top
Show: