SoapException Constructor (String^, XmlQualifiedName^, SoapFaultSubCode^)
.NET Framework (current version)
Initializes a new instance of the SoapException class with the specified exception message, exception code, and subcode.
Assembly: System.Web.Services (in System.Web.Services.dll)
public:
SoapException(
String^ message,
XmlQualifiedName^ code,
SoapFaultSubCode^ subCode
)
Parameters
- message
-
Type:
System::String^
A message that identifies the reason the exception occurred. This parameter sets the Message property.
- code
-
Type:
System.Xml::XmlQualifiedName^
An XmlQualifiedName that specifies the type of error that occurred. This parameter sets the Code property.
- subCode
-
Type:
System.Web.Services.Protocols::SoapFaultSubCode^
An optional subcode for the SOAP fault. This parameter sets the SubCode property.
.NET Framework
Available since 2.0
Available since 2.0
Show: