SoapException Constructor (String, XmlQualifiedName, String)


Initializes a new instance of the SoapException class with the specified exception message, exception code, and URI that identifies the piece of code that caused the exception.

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

public SoapException(
	string message,
	XmlQualifiedName code,
	string actor


Type: System.String

A message that identifies the reason the exception occurred. This parameter sets the Message property.

Type: System.Xml.XmlQualifiedName

An XmlQualifiedName that specifies the type of error that occurred. This parameter sets the Code property.

Type: System.String

A URI that identifies the code that caused the exception. Typically, this is a URL to an XML Web service method. This parameter sets the Actor property.

.NET Framework
Available since 1.1
Return to top