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.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98, Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0

.NET Compact Framework

Supported in: 3.5, 2.0
Show: