SoapException Constructor (String^, XmlQualifiedName^, String^, String^, String^, XmlNode^, SoapFaultSubCode^, Exception^)
Initializes a new instance of the SoapException class with the specified exception message, exception code, URI that identifies the piece of code that caused the exception, URI that represents the XML Web service's function in processing the SOAP message, the human language associated with the exception, the application-specific exception information, the subcode for the SOAP fault and reference to the root cause of the exception.
Assembly: System.Web.Services (in System.Web.Services.dll)
public:
SoapException(
String^ message,
XmlQualifiedName^ code,
String^ actor,
String^ role,
String^ lang,
XmlNode^ detail,
SoapFaultSubCode^ subCode,
Exception^ innerException
)
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.
- actor
-
Type:
System::String^
A URI that identifies the piece of code that caused the exception. Typically, this is a URL to an XML Web service method. This parameter sets the Actor property.
- role
-
Type:
System::String^
A URI that represents the XML Web service's function in processing the SOAP message. This parameter sets the Role property.
- lang
-
Type:
System::String^
A human language associated with the exception. This parameter sets the Lang property.
- detail
-
Type:
System.Xml::XmlNode^
An XmlNode that contains application specific exception information. This parameter sets the Detail property.
- subCode
-
Type:
System.Web.Services.Protocols::SoapFaultSubCode^
An optional subcode for the SOAP fault. This parameter sets the SubCode property.
- innerException
-
Type:
System::Exception^
An exception that is the root cause of the exception. This parameter sets the InnerException property.
Available since 2.0