SoapException Constructor (String^, XmlQualifiedName^, SoapFaultSubCode^)

 

Initializes a new instance of the SoapException class with the specified exception message, exception code, and subcode.

Namespace:   System.Web.Services.Protocols
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
Return to top
Show: