Share via


SoapServerException.MakeDetailsNode method (String, Int32)

Creates a node that contains the error description and the error code.

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

Syntax

'Declaration
Protected Shared Function MakeDetailsNode ( _
    strError As String, _
    code As Integer _
) As XmlNode
'Usage
Dim strError As String
Dim code As Integer
Dim returnValue As XmlNode

returnValue = SoapServerException.MakeDetailsNode(strError, _
    code)
protected static XmlNode MakeDetailsNode(
    string strError,
    int code
)

Parameters

  • strError
    Type: System.String

    A string that contains the error description.

  • code
    Type: System.Int32

    A 32-bit integer that represents the error code.

Return value

Type: System.Xml.XmlNode
A System.Xml.XmlNode that represents a single node in the SOAP message.

See also

Reference

SoapServerException class

SoapServerException members

MakeDetailsNode overload

Microsoft.SharePoint.SoapServer namespace