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.StringA 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.