Share via


SoapServerException.MakeSoapException method (String)

Creates a SOAP exception event and passes in the error description.

Namespace:  Microsoft.SharePoint.SoapServer
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Protected Shared Function MakeSoapException ( _
    strError As String _
) As SoapException
'Usage
Dim strError As String
Dim returnValue As SoapException

returnValue = SoapServerException.MakeSoapException(strError)
protected static SoapException MakeSoapException(
    string strError
)

Parameters

  • strError
    Type: System.String

    A string that contains the error description.

Return value

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

See also

Reference

SoapServerException class

SoapServerException members

MakeSoapException overload

Microsoft.SharePoint.SoapServer namespace