System.Web.Services.Protocols.Soap12FaultCodes.SenderFaultCode Field

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

Syntax

public static readonly System.Xml.XmlQualifiedName SenderFaultCode

Remarks

A System.Web.Services.Protocols.SoapException is thrown with the SoapException.Code property set to Soap12FaultCodes.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 SoapException.ClientFaultCode field, but the Client fault code is used when the SOAP request is sent using SOAP 1.1. To check whether the SoapException.Code property is either the Sender or Client SOAP fault codes, call the SoapException.IsClientFaultCode(System.Xml.XmlQualifiedName) method.

Requirements

Namespace: System.Web.Services.Protocols
Assembly: System.Web.Services (in System.Web.Services.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0