Soap12FaultCodes.SenderFaultCode Field

Definition

Represents the SOAP version 1.2 Sender fault code indicating a client call was not formatted correctly or did not contain the appropriate information.

C#
public static readonly System.Xml.XmlQualifiedName SenderFaultCode;

Field Value

Remarks

A SoapException is thrown with the Code property set to SenderFaultCode when a SOAP 1.2 request is malformed or a parameter is missing.

The Sender SOAP fault code is similar to the Client fault code, which is represented by the ClientFaultCode field, but the Client fault code is used when the SOAP request is sent using SOAP 1.1. To check whether the Code property is either the Sender or Client SOAP fault codes, call the IsClientFaultCode method.

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1