MakeSoapException(String, Int32) Method

The MakeSoapException method of the SoapServerException class creates a SOAP exception event and passes in the error description and the error code.

Parameters

strError A string that contains the error description.

strCode A string that contains the error code.

Return Value

A System.Web.Services.Protocols.SoapException that represents the exception that was thrown.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security