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

public static readonly XmlQualifiedName SenderFaultCode
public static final XmlQualifiedName SenderFaultCode
public static final var SenderFaultCode : XmlQualifiedName
Not applicable.

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 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

.NET Compact Framework

Supported in: 2.0