Edit

Share via


SoapFaultSubCode.Code Property

Definition

Gets the application specific error code in the form of an XML qualified name.

public:
 property System::Xml::XmlQualifiedName ^ Code { System::Xml::XmlQualifiedName ^ get(); };
public System.Xml.XmlQualifiedName Code { get; }
member this.Code : System.Xml.XmlQualifiedName
Public ReadOnly Property Code As XmlQualifiedName

Property Value

An XmlQualifiedName representing the application specific error code.

Remarks

Use a constructor to set the Code property.

The value of the Code property can be any user defined XML qualified name, including the codes represented by the Soap12FaultCodes.RpcProcedureNotPresentFaultCode, Soap12FaultCodes.RpcBadArgumentsFaultCode, Soap12FaultCodes.EncodingMissingIdFaultCode, and Soap12FaultCodes.EncodingUntypedValueFaultCode fields.

Applies to