This documentation is archived and is not being maintained.

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.

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

public:
static initonly XmlQualifiedName^ SenderFaultCode

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.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: