Szerkesztés

Megosztás a következőn keresztül:


Soap12FaultCodes.SenderFaultCode Field

Definition

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

public: static initonly System::Xml::XmlQualifiedName ^ SenderFaultCode;
public static readonly System.Xml.XmlQualifiedName SenderFaultCode;
 staticval mutable SenderFaultCode : System.Xml.XmlQualifiedName
Public Shared ReadOnly SenderFaultCode As XmlQualifiedName 

Field Value

Remarks

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.

Applies to