PublishingSoapException.MakeSoapException method

Creates a SOAP exception object.

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

Syntax

'Declaration
Public Shared Function MakeSoapException ( _
    message As String, _
    code As XmlQualifiedName _
) As PublishingSoapException
'Usage
Dim message As String
Dim code As XmlQualifiedName
Dim returnValue As PublishingSoapException

returnValue = PublishingSoapException.MakeSoapException(message, _
    code)
public static PublishingSoapException MakeSoapException(
    string message,
    XmlQualifiedName code
)

Parameters

  • message
    Type: System.String

    The error message that explains the reason for the exception.

Return value

Type: Microsoft.SharePoint.Publishing.PublishingSoapException
A PublishingSoapException object.

See also

Reference

PublishingSoapException class

PublishingSoapException members

Microsoft.SharePoint.Publishing namespace