SoapException Constructor (String, XmlQualifiedName, String, XmlNode)
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, and application specific exception information.
Assembly: System.Web.Services (in System.Web.Services.dll)
public:
SoapException(
String^ message,
XmlQualifiedName^ code,
String^ actor,
XmlNode^ detail
)
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.
- detail
- Type: System.Xml::XmlNode
An XmlNode that contains application specific exception information. This parameter sets the Detail property.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98, Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.