Soap12FaultCodes.MustUnderstandFaultCode Field

Represents the SOAP version 1.2 MustUnderstand fault code indicating a SOAP header marked with the MustUnderstand attribute was not processed.

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

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

Not all SOAP headers require processing by the recipient. However, if a SOAP header is marked with the MustUnderstand attribute equal to "true", processing is required. Failure to process the header when it resides within a SOAP 1.2 request generates a SoapHeaderException with the Code property set to Soap12FaultCodes.MustUnderstandFaultCode. If the SOAP request resided within a SOAP 1.1 request, the Code property is set to SoapException.MustUnderstandFaultCode.

Both SOAP 1.1 and 1.2 define MustUnderstand SOAP fault codes differing only by the version of the SOAP protocol used to send the SOAP message. This field represents the SOAP 1.2 version, and the SOAP 1.1 version is represented by SoapException.MustUnderstandFaultCode. The two fields map to different qualified names, but you can check whether the Code property is either one of the fault codes by calling the IsMustUnderstandFaultCode 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

Community Additions

ADD
Show: