RpcBadArgumentsFaultCode Field

Soap12FaultCodes.RpcBadArgumentsFaultCode Field

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.

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

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

ASP.NET does not automatically throw a SoapException with the System.Web.Services.Protocols.SoapFaultSubcode.Code property set to RpcBadArgumentsFaultCode.

The SoapException class has a Subcode property of type SoapFaultSubcode that represents the SOAP fault subcode. The System.Web.Services.Protocols.SoapFaultSubcode.Code property represents the URI for the actual SOAP fault subcode. When setting the System.Web.Services.Protocols.SoapFaultSubcode.Code property to RpcBadArgumentsFaultCode, set the SoapException.Code property to SenderFaultCode.

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

© 2016 Microsoft