Soap12FaultCodes.RpcBadArgumentsFaultCode 字段

定义

表示 SOAP 1.2 版 rpc:BadArguments 错误子代码,用于指示发送到 XML Web services 方法的参数不正确或未能分析。Represents the SOAP version 1.2 rpc:BadArguments fault subcode indicating that arguments sent to the XML Web service method were incorrect or could not be parsed.

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

字段值

XmlQualifiedName

注解

SoapException 属性设置为时,ASP.NET 不会自动引发 SoapFaultSubCode.Code RpcBadArgumentsFaultCodeASP.NET does not automatically throw a SoapException with the SoapFaultSubCode.Code property set to RpcBadArgumentsFaultCode.

SoapException类具有一个类型为的 SubCode 属性 SoapFaultSubCode ,该属性表示 SOAP 错误子代码。The SoapException class has a SubCode property of type SoapFaultSubCode that represents the SOAP fault subcode. SoapFaultSubCode.Code属性表示实际 SOAP 错误子代码的 URI。The SoapFaultSubCode.Code property represents the URI for the actual SOAP fault subcode. 在将 SoapFaultSubCode.Code 属性设置为时 RpcBadArgumentsFaultCode ,将 SoapException.Code 属性设置为 SenderFaultCodeWhen setting the SoapFaultSubCode.Code property to RpcBadArgumentsFaultCode, set the SoapException.Code property to SenderFaultCode.

适用于