MakeSoapException(String, System.Xml.XmlQualifiedName) Method

The MakeSoapException method of the SoapServerException class creates a SOAP exception event and passes in the SOAP fault code and an XML qualified name.


message Describes the current exception.

code Specifies a SOAP fault code representing an error that occurred on the server.

Return Value

A Microsoft.SharePoint.SoapServer.SoapServerException that represents the exception that was thrown.


The MakeSoapException method uses XML qualified names. An XML qualified name is a namespace qualified local name, in the format of namespace:localname.


Platforms: Microsoft Windows Server 2003

Security: Code Access Security