MakeSoapException(String, Int32, System.Exception) Method

The MakeSoapException method of the SoapServerException class creates a SOAP exception event and passes in the error description, error code, and the related exception that caused the current exception.

Parameters

strError   A string that contains the error description.

strCode   A string that contains the error code.

e   A string that contains the related exception that caused the current exception.

Return Value

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

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security